replicator

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NETMODE_I2P = iota
	NETMODE_TEST
)

Variables

This section is empty.

Functions

func BuildServer

func BuildServer(listener net.Listener)

func CreateBounceTypeStore

func CreateBounceTypeStore() tlj.TypeStore

func Start

func Start(callbacks callback.Callbacks, network_mode NetworkMode)

Sart the replicator

  1. Wait for I2P to become available
  2. Attempt to dial every known contact
  3. Write all messages that need to be sent to each contact

func Sync

func Sync()

Types

type NetworkMode

type NetworkMode int

type Replicator

type Replicator struct {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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