Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options_TURN_Short = []string{"inbound.length=1", "outbound.length=1", "inbound.lengthVariance=0", "outbound.lengthVariance=0", "inbound.quantity=3", "outbound.quantity=3", "inbound.backupQuantity=2", "outbound.backupQuantity=2", "i2cp.closeOnIdle=false", "i2cp.reduceOnIdle=false", "i2cp.leaseSetEncType=4,0"}
Functions ¶
Types ¶
type I2PRelayAddressGenerator ¶
type I2PRelayAddressGenerator struct { }
func (*I2PRelayAddressGenerator) AllocateConn ¶
func (i *I2PRelayAddressGenerator) AllocateConn(network string, requestedPort int) (net.Conn, net.Addr, error)
Allocate a Conn (TCP) RelayAddress
func (*I2PRelayAddressGenerator) AllocatePacketConn ¶
func (i *I2PRelayAddressGenerator) AllocatePacketConn(network string, requestedPort int) (net.PacketConn, net.Addr, error)
Allocate a PacketConn (UDP) RelayAddress
func (*I2PRelayAddressGenerator) Validate ¶
func (i *I2PRelayAddressGenerator) Validate() error
Validate confirms that the RelayAddressGenerator is properly initialized
Click to show internal directories.
Click to hide internal directories.