Documentation ¶
Index ¶
Constants ¶
View Source
const ( NETWORK_IP = "IP" NETWORK_IPV4 = "IPv4" NETWORK_IPV6 = "IPv6" NETWORK_SCION = "SCION" TRANSPORT_UDP = "UDP" TRANSPORT_TCP = "TCP" TRANSPORT_QUIC = "QUIC" )
Variables ¶
This section is empty.
Functions ¶
func NewLocalEndpoint ¶
func NewRemoteEndpoint ¶
Types ¶
type Listener ¶
type Listener struct { ConnectionReceived chan network.Connection // contains filtered or unexported fields }
type Preconnection ¶
type Preconnection struct {
// contains filtered or unexported fields
}
func NewPreconnection ¶
func NewPreconnection(e *network.Endpoint) (Preconnection, error)
func (*Preconnection) Initiate ¶
func (p *Preconnection) Initiate() (network.Connection, error)
func (*Preconnection) Listen ¶
func (p *Preconnection) Listen() Listener
Click to show internal directories.
Click to hide internal directories.