Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
SessionID string
SocketPath string
Cmd *exec.Cmd
CreatedAt time.Time
Proxy *httputil.ReverseProxy
}
Instance manages a single ttyd process bound to a Unix domain socket.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages ttyd instances indexed by session ID.
func NewManager ¶
NewManager creates a ttyd session manager.
Click to show internal directories.
Click to hide internal directories.