Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandoffClaims ¶
type HandoffClaims struct {
jwt.RegisteredClaims
Email string `json:"email,omitempty"`
OrgRole string `json:"org_role,omitempty"`
}
HandoffClaims are the JWT claims for browser direct-mode connections.
type Server ¶
type Server struct {
RelayPubKey *ecdsa.PublicKey // relay's ES256 public key for JWT verification
OnPTY ws.PTYHandler
// contains filtered or unexported fields
}
Server is a lightweight HTTP server for direct-mode wing connections. Browsers connect directly to the wing via WebSocket, bypassing the relay for PTY I/O.
Click to show internal directories.
Click to hide internal directories.