WithSessionManager injects the runtime session manager.
(manager core.SessionManager)
| 165 | |
| 166 | // WithSessionManager injects the runtime session manager. |
| 167 | func 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. |
| 174 | func WithSessionCatalog(catalog core.SessionCatalog) Option { |
no outgoing calls