Documentation ¶
Index ¶
- type Relay
- func (r *Relay) Close()
- func (r *Relay) ListenAndServe() error
- func (r *Relay) RunLocalMTCPServer() error
- func (r *Relay) RunLocalMWSSServer() error
- func (r *Relay) RunLocalTCPServer() error
- func (r *Relay) RunLocalUDPServer() error
- func (r *Relay) RunLocalWSSServer() error
- func (r *Relay) RunLocalWSServer() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Relay ¶
type Relay struct { ListenType string TransportType string LocalTCPAddr *net.TCPAddr LocalUDPAddr *net.UDPAddr TP transporter.RelayTransporter Name string L *zap.SugaredLogger // contains filtered or unexported fields }
func (*Relay) ListenAndServe ¶
func (*Relay) RunLocalMTCPServer ¶ added in v1.1.2
func (*Relay) RunLocalMWSSServer ¶
func (*Relay) RunLocalTCPServer ¶
func (*Relay) RunLocalUDPServer ¶
func (*Relay) RunLocalWSSServer ¶
func (*Relay) RunLocalWSServer ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.