Documentation ¶
Overview ¶
This file contains code to relay traffic between websocket and pty
Index ¶
Constants ¶
View Source
const (
WriteBufferSize = 1024
)
Variables ¶
This section is empty.
Functions ¶
func ConnectTerm ¶
func ForEachSession ¶
func ForEachSession(fp func(tc *TermConn))
func StartRecord ¶ added in v0.3.0
func StartRecord(id string)
func StopRecord ¶ added in v0.3.0
func StopRecord(id string)
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
a simple registry for actors and their channels. It is possible to design this using channels, but it is simple enough with mutex
type WriteRecord ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.