Documentation
¶
Index ¶
- type Adapter
- func (ws *Adapter) Close() error
- func (ws *Adapter) LocalAddr() net.Addr
- func (ws *Adapter) Read(b []byte) (n int, err error)
- func (ws *Adapter) RemoteAddr() net.Addr
- func (ws *Adapter) SetDeadline(t time.Time) error
- func (ws *Adapter) SetReadDeadline(t time.Time) error
- func (ws *Adapter) SetWriteDeadline(t time.Time) error
- func (ws *Adapter) Write(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
A wrapper around a websocket.Conn that implements the net.Conn interface.
func (*Adapter) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.