Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDevOrigins ¶
DefaultDevOrigins returns browser Origin values for local viewer dev (R10 dev ergonomics).
func OriginAllowed ¶
OriginAllowed implements default-deny Origin allowlist matching (R10).
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server exposes HTTP and WebSocket endpoints for Tuile.
func NewServer ¶
func NewServer(cfg config.Server, mgr *session.Manager, tokens *auth.Store, boot auth.BootstrapSecret) *Server
NewServer wires routes and dependencies.
func (*Server) CloseSession ¶
CloseSession revokes tokens and stops the PTY session.
func (*Server) ListenAndServe ¶
ListenAndServe starts the HTTP server with optional TLS (KTD4).
Click to show internal directories.
Click to hide internal directories.