internal

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 28 Imported by: 0

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,
	templateServer *tmpl.Server,
) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(ctx context.Context) error

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.

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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