Documentation
¶
Index ¶
- func SetStatusFunc(f StatusFunc)
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) ID() string
- func (c *Conn) IsClosed() bool
- func (c *Conn) IsReady() bool
- func (c *Conn) Read(p []byte) (n int, err error)
- func (c *Conn) WaitClosed(ctx context.Context) error
- func (c *Conn) WaitReady(ctx context.Context) error
- func (c *Conn) Write(p []byte) (n int, err error)
- type Dialer
- type DialerFunc
- type Listener
- type ListenerFunc
- type StatusFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetStatusFunc ¶
func SetStatusFunc(f StatusFunc)
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) WaitClosed ¶
WaitClosed blocks until the underlying connection has been closed or the provided context is canceled.
type DialerFunc ¶
type ListenerFunc ¶
type StatusFunc ¶
type StatusFunc func(conn *Conn, status webrtc.PeerConnectionState)
Click to show internal directories.
Click to hide internal directories.