peering

package
v0.0.0-...-c53655e Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version string
	// contains filtered or unexported fields
}

Config is ...

func NewConfig

func NewConfig(ver string, port int, lvl log.Level) Config

NewConfig is ..

type Daemon

type Daemon struct {
	// contains filtered or unexported fields
}

Daemon is a ...

func NewDaemon

func NewDaemon(c Config) (*Daemon, error)

NewDaemon is ...

func (*Daemon) Connect

func (d *Daemon) Connect(remote string) error

func (*Daemon) Listen

func (d *Daemon) Listen() error

type DiscoveryAck

type DiscoveryAck struct {
	Accept bool
}

DiscoveryAck is ...

func NewDiscoveryAck

func NewDiscoveryAck(b bool) DiscoveryAck

NewDiscoveryAck is a ...

type DiscoveryMessage

type DiscoveryMessage struct {
	Version string
	// contains filtered or unexported fields
}

DiscoveryMessage is ...

func NewDiscoveryMessage

func NewDiscoveryMessage(v string) DiscoveryMessage

NewDiscoveryMessage is ...

type Heartbeat

type Heartbeat struct {
	Version string
}

Heartbeat is ...

Jump to

Keyboard shortcuts

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