Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientSession ¶
func (*ClientSession) Run ¶
func (cs *ClientSession) Run() error
type HostSession ¶
type HostSession struct { Session TmuxSession string TmuxClient string Cmd []string Pty *os.File PtyReady bool }
func (*HostSession) Run ¶
func (hs *HostSession) Run() error
type Session ¶
type Session struct {
Stdin, Stdout, Stderr *os.File
Verbose bool
Debug *log.Logger
UserAgent string
SDPServer string
IsTerminal bool
OldTerminalState *term.State
StunServers []string
ErrorChan chan error
PeerConnection *webrtc.PeerConnection
OfferSD SessionDescription
AnswerSD SessionDescription
DataChannel *webrtc.DataChannel
}
type SessionDescription ¶
func (*SessionDescription) Decode ¶
func (sd *SessionDescription) Decode(offer string) error
func (SessionDescription) Encode ¶
func (sd SessionDescription) Encode() (string, error)
Click to show internal directories.
Click to hide internal directories.