bouncenet

package
v0.0.0-...-d095de2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnonymityNetwork

type AnonymityNetwork interface {
	Listener(string) (net.Listener, error)
	Dial(string) (net.Conn, error)
}

func StartI2P

func StartI2P() (AnonymityNetwork, error)

func StartTestnet

func StartTestnet() (AnonymityNetwork, error)

type I2P

type I2P struct{}

func (I2P) Dial

func (i2p I2P) Dial(address string) (socket net.Conn, err error)

func (I2P) Listener

func (i2p I2P) Listener(bind string) (listener net.Listener, err error)

type Testnet

type Testnet struct{}

func (Testnet) Dial

func (testnet Testnet) Dial(address string) (socket net.Conn, err error)

func (Testnet) Listener

func (testnet Testnet) Listener(bind string) (listener net.Listener, err error)

Jump to

Keyboard shortcuts

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