Documentation
¶
Index ¶
- type Server
- func (s *Server) SetChatHandler(fn func(ctx context.Context, sessionKey, content string) (string, error))
- func (s *Server) SetChatHistoryHandler(fn func(sessionKey string) []map[string]interface{})
- func (s *Server) SetConfigAfterHook(fn func() error)
- func (s *Server) SetConfigPath(path string)
- func (s *Server) SetCronHandler(fn func(action string, args map[string]interface{}) (interface{}, error))
- func (s *Server) SetGatewayVersion(v string)
- func (s *Server) SetLogFilePath(path string)
- func (s *Server) SetNodeDispatchHandler(...)
- func (s *Server) SetNodeP2PStatusHandler(fn func() map[string]interface{})
- func (s *Server) SetNodeWebRTCTransport(t *nodes.WebRTCTransport)
- func (s *Server) SetProtectedRoute(path string, handler http.Handler)
- func (s *Server) SetSubagentHandler(...)
- func (s *Server) SetToken(token string)
- func (s *Server) SetToolsCatalogHandler(fn func() interface{})
- func (s *Server) SetWebUIDir(dir string)
- func (s *Server) SetWebUIVersion(v string)
- func (s *Server) SetWhatsAppBridge(service *channels.WhatsAppBridgeService, basePath string)
- func (s *Server) SetWorkspacePath(path string)
- func (s *Server) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetChatHandler ¶
func (*Server) SetChatHistoryHandler ¶
func (*Server) SetConfigAfterHook ¶
func (*Server) SetConfigPath ¶
func (*Server) SetCronHandler ¶
func (*Server) SetGatewayVersion ¶
func (*Server) SetLogFilePath ¶
func (*Server) SetNodeDispatchHandler ¶
func (*Server) SetNodeP2PStatusHandler ¶
func (*Server) SetNodeWebRTCTransport ¶
func (s *Server) SetNodeWebRTCTransport(t *nodes.WebRTCTransport)
func (*Server) SetProtectedRoute ¶
func (*Server) SetSubagentHandler ¶
func (*Server) SetToolsCatalogHandler ¶
func (s *Server) SetToolsCatalogHandler(fn func() interface{})
func (*Server) SetWebUIDir ¶
func (*Server) SetWebUIVersion ¶
func (*Server) SetWhatsAppBridge ¶
func (s *Server) SetWhatsAppBridge(service *channels.WhatsAppBridgeService, basePath string)
func (*Server) SetWorkspacePath ¶
Click to show internal directories.
Click to hide internal directories.