Documentation ¶
Index ¶
- func Dial(address string) (net.Conn, error)
- func NewConn(wsConn *websocket.Conn, serverAddress string) net.Conn
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(b []byte) (n int, err error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) SetDeadline(t time.Time) error
- func (c *Conn) SetReadDeadline(t time.Time) error
- func (c *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) Write(b []byte) (n int, err error)
- type WebsocketAddr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
func (*Conn) RemoteAddr ¶
type WebsocketAddr ¶
type WebsocketAddr struct {
// contains filtered or unexported fields
}
func (WebsocketAddr) Network ¶
func (a WebsocketAddr) Network() string
func (WebsocketAddr) String ¶
func (a WebsocketAddr) String() string
Click to show internal directories.
Click to hide internal directories.