Documentation ¶
Index ¶
- func NewTCPTransport(port int, ch chan<- listener.Transport) (io.Closer, error)
- func NewTLSTransport(port int, TLSConfig *tls.Config, ch chan<- listener.Transport) (io.Closer, error)
- func NewWSSTransport(port int, TLSConfig *tls.Config, ch chan<- listener.Transport) (io.Closer, error)
- func NewWSTransport(port int, ch chan<- listener.Transport) (io.Closer, error)
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(b []byte) (int, 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) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTCPTransport ¶
func NewTLSTransport ¶
func NewWSSTransport ¶
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.