Documentation ¶
Index ¶
- func GatherCandidates(sock *net.UDPConn, outIpList string, udpAddr string) ([]candidate, error)
- type AttemptEngine
- 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) Run()
- func (c *Conn) SetCrypt(encode, decode func([]byte) []byte)
- 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 ¶
Types ¶
type AttemptEngine ¶
type AttemptEngine struct {
// contains filtered or unexported fields
}
func (*AttemptEngine) Fail ¶
func (e *AttemptEngine) Fail()
func (*AttemptEngine) GetAddrList ¶
func (e *AttemptEngine) GetAddrList() string
func (*AttemptEngine) SetOtherAddrList ¶
func (e *AttemptEngine) SetOtherAddrList(addrList string)
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.