Documentation
¶
Index ¶
- func BrokerRun(ctx context.Context, opts BrokerRunOptions) error
- func ClientRun(ctx context.Context, opts ClientRunOptions) error
- func Serve(ctx context.Context, key, addr string) error
- func ServerRun(ctx context.Context, opts ServerRunOptions) error
- func StartClient(ctx context.Context, key string, sock net.Conn) error
- func StartSSHD(ctx context.Context, sshCmd string, mirrorSession bool, portCh chan<- int) error
- func StartSignalServer(ctx context.Context, port int) error
- func StartTurnServer(ctx context.Context, port int, addresses []string) error
- func WithLogger(ctx context.Context, l Logger) context.Context
- type BrokerRunOptions
- type ClientRunOptions
- type ConnectInfo
- type DebugLogger
- type Logger
- type ServerRunOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartTurnServer ¶
Types ¶
type BrokerRunOptions ¶
type ClientRunOptions ¶
type ConnectInfo ¶
ConnectInfo SDP by offer or answer
type DebugLogger ¶
type DebugLogger struct {
Logger
}
func (DebugLogger) Debugf ¶
func (l DebugLogger) Debugf(format string, v ...any)
Click to show internal directories.
Click to hide internal directories.