Versions in this module Expand all Collapse all v0 v0.2.0 Jul 28, 2026 v0.1.0 Jul 27, 2026 Changes in this version + var ErrMCPAuthorizationDenied = goerr.New("authorization denied") + func NewMCPHandler(caseUC *usecase.CaseUseCase, actionUC *usecase.ActionUseCase, ...) http.Handler + func SlackSignatureMiddleware(signingSecret string) func(http.Handler) http.Handler + type AuthUseCase = usecase.AuthUseCaseInterface + type Options func(*Server) + func WithAuth(authUC AuthUseCase) Options + func WithGraphiQL(enabled bool) Options + func WithMCP(handler http.Handler) Options + func WithSlackCommand(handler *SlackCommandHandler) Options + func WithSlackInteraction(handler *SlackInteractionHandler) Options + func WithSlackService(svc slack.Service) Options + func WithSlackWebhook(handler *SlackWebhookHandler, signingSecret string) Options + func WithTickHook(handler *TickHookHandler) Options + func WithWorkspaceRegistry(registry *model.WorkspaceRegistry) Options + type Server struct + func New(gqlHandler http.Handler, opts ...Options) (*Server, error) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + type SlackCommandHandler struct + func NewSlackCommandHandler(slackUC *usecase.SlackUseCases) *SlackCommandHandler + func (h *SlackCommandHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type SlackInteractionHandler struct + func NewSlackInteractionHandler(actionUC *usecase.ActionUseCase, agentUC *usecase.AgentUseCase, ...) *SlackInteractionHandler + func (h *SlackInteractionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type SlackWebhookHandler struct + func NewSlackWebhookHandler(slackUC *usecase.SlackUseCases) *SlackWebhookHandler + func (h *SlackWebhookHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type TickHookHandler struct + func NewTickHookHandler(scanner TickScanner) *TickHookHandler + func (h *TickHookHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type TickScanner interface + Scan func(ctx context.Context) error