MCPcopy Create free account
hub / github.com/compozy/agh / WithSessionManager

Function WithSessionManager

internal/api/httpapi/server.go:167–171  ·  view source on GitHub ↗

WithSessionManager injects the runtime session manager.

(manager core.SessionManager)

Source from the content-addressed store, hash-verified

165
166// WithSessionManager injects the runtime session manager.
167func WithSessionManager(manager core.SessionManager) Option {
168 return func(server *Server) {
169 server.sessions = manager
170 }
171}
172
173// WithSessionCatalog injects the daemon-owned session catalog.
174func WithSessionCatalog(catalog core.SessionCatalog) Option {

Calls

no outgoing calls