Versions in this module Expand all Collapse all v0 v0.1.0 Jun 17, 2026 Changes in this version + func IdentityFromContext(ctx context.Context) (domain.Identity, bool) + func NewHandler(cfg Config) http.Handler + type ClientKey struct + ID string + Key string + type Config struct + Guard *Guard + NewSession SessionFactory + ServerName string + ServerVersion string + SessionTimeout time.Duration + type Guard struct + func NewGuard(allowedOrigins []string, clients []ClientKey) *Guard + func (g *Guard) Reload(allowedOrigins []string, clients []ClientKey) + func (g *Guard) Wrap(next http.Handler) http.Handler + type Session interface + Call func(ctx context.Context, name string, args json.RawMessage) (*domain.Result, error) + Close func() error + ListTools func(ctx context.Context, cursor string) (page domain.Catalog, next string, err error) + type SessionFactory func(domain.Identity) (Session, error)