Documentation
¶
Index ¶
- type AgentRouteDispatcher
- func (AgentRouteDispatcher) CaddyModule() caddy.ModuleInfo
- func (h *AgentRouteDispatcher) Provision(ctx caddy.Context) error
- func (h AgentRouteDispatcher) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (h *AgentRouteDispatcher) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (h *AgentRouteDispatcher) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentRouteDispatcher ¶
type AgentRouteDispatcher struct {
APIHandlersRaw caddy.ModuleMap `json:"api_handlers,omitempty" caddy:"namespace=agent_route_dispatcher.llm_apis"`
EnableMCP bool `json:"mcp,omitempty"`
EnableACP bool `json:"acp,omitempty"`
// contains filtered or unexported fields
}
AgentRouteDispatcher is the Caddy middleware adapter for the runtime dispatcher.
func (AgentRouteDispatcher) CaddyModule ¶
func (AgentRouteDispatcher) CaddyModule() caddy.ModuleInfo
func (*AgentRouteDispatcher) Provision ¶
func (h *AgentRouteDispatcher) Provision(ctx caddy.Context) error
func (AgentRouteDispatcher) ServeHTTP ¶
func (h AgentRouteDispatcher) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
func (*AgentRouteDispatcher) UnmarshalCaddyfile ¶
func (h *AgentRouteDispatcher) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
func (*AgentRouteDispatcher) Validate ¶
func (h *AgentRouteDispatcher) Validate() error
Click to show internal directories.
Click to hide internal directories.