Documentation
¶
Overview ¶
Package workspacehttp provides the HTTP/WebSocket server for multi-workspace management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the multi-workspace HTTP/WebSocket server. This is the new simplified architecture that manages sessions in-process.
func NewServer ¶
func NewServer( host string, port int, sessionManager *session.Manager, configManager *workspace.ConfigManager, dispatcher *handler.Dispatcher, hub ports.EventHub, logger *slog.Logger, ) *Server
NewServer creates a new multi-workspace HTTP server.
func (*Server) SetOriginChecker ¶
func (s *Server) SetOriginChecker(checker *security.OriginChecker)
SetOriginChecker sets the origin checker used by websocket/CORS flows.
Click to show internal directories.
Click to hide internal directories.