blindserver

package
v0.0.0-...-406fc62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 12 Imported by: 0

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

func Main

func Main(users, realm string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL