Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker struct{}
func (*HealthChecker) ServeHTTP ¶
func (hc *HealthChecker) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( env *config.Env, projectServer *project.Server, workflowServer *workflow.Server, taskServer *task.Server, interactionServer *interaction.Server, agentManagerServer *agentmanager.Server, agentServer *agent.Server, skillServer *skill.Server, scriptServer *script.Server, eventServer *event.Server, taskLogServer *tasklog.Server, pushNotificationServer *pushnotification.Server, permissionServer *permission.Server, singleCommandPermissionServer *singlecommandpermission.Server, templateServer *tmpl.Server, ) *Server
func (*Server) ListenAndServe ¶
ListenAndServe starts the HTTP server. The provided context is used as the base context for all incoming requests via http.Server.BaseContext. When ctx is cancelled (e.g. on shutdown signal), all streaming RPC contexts are also cancelled, allowing the server to shut down without waiting for streams.
Click to show internal directories.
Click to hide internal directories.