handler

package
v0.2.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	baseHandler.BaseHandler
	// contains filtered or unexported fields
}

Handler is a struct with basic methods that should be extended to properly handle a HTTP Service.

func NewHandler

func NewHandler(server *restserver.Server) *Handler

func (*Handler) CreateAgentSpec

func (h *Handler) CreateAgentSpec(c echo.Context) error

func (*Handler) CreateConversation

func (h *Handler) CreateConversation(c echo.Context) error

func (*Handler) CreateHook

func (h *Handler) CreateHook(c echo.Context) error

POST /hooks

func (*Handler) DeleteAgentSpec

func (h *Handler) DeleteAgentSpec(c echo.Context) error

func (*Handler) DeleteConversation

func (h *Handler) DeleteConversation(c echo.Context) error

func (*Handler) DeleteHook

func (h *Handler) DeleteHook(c echo.Context) error

DELETE /hooks/:id

func (*Handler) ForkConversation

func (h *Handler) ForkConversation(c echo.Context) error

func (*Handler) GetAgentSpec

func (h *Handler) GetAgentSpec(c echo.Context) error

func (*Handler) GetConversation

func (h *Handler) GetConversation(c echo.Context) error

func (*Handler) GetHook

func (h *Handler) GetHook(c echo.Context) error

GET /hooks/:id

func (*Handler) ListAgentSpecs

func (h *Handler) ListAgentSpecs(c echo.Context) error

func (*Handler) ListConversations

func (h *Handler) ListConversations(c echo.Context) error

func (*Handler) ListHooks

func (h *Handler) ListHooks(c echo.Context) error

func (*Handler) ResumeConversation

func (h *Handler) ResumeConversation(c echo.Context) error

func (*Handler) UpdateAgentSpec

func (h *Handler) UpdateAgentSpec(c echo.Context) error

func (*Handler) UpdateConversation added in v0.2.9

func (h *Handler) UpdateConversation(c echo.Context) error

func (*Handler) UpdateHook

func (h *Handler) UpdateHook(c echo.Context) error

PATCH /hooks/:id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL