Documentation
¶
Index ¶
- func AddPortMapping(ctx context.Context, ports ...int) error
- func DialContext(ctx context.Context, network, laddr, raddr string) (net.Conn, error)
- func Listen(ctx context.Context, network, address string) (net.Listener, error)
- func ListenPacket(ctx context.Context, network, address string) (net.PacketConn, error)
- func RendezvousWithTimeout(ctx context.Context, laddr string, peerAddrs []AddrPair) (conn net.Conn, err error)
- func SetLogger(l Logger)
- type AddrPair
- type HTTPClient
- type Logger
- type PeerInfo
- type SelfInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialContext ¶
func ListenPacket ¶
Types ¶
type HTTPClient ¶
func NewHTTPClient ¶
func NewHTTPClient(useIpv6 bool, laddr string) *HTTPClient
func (*HTTPClient) GetLAddr ¶
func (cl *HTTPClient) GetLAddr() <-chan net.Addr
Click to show internal directories.
Click to hide internal directories.