router

package
v0.5.9-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Envelope

type Envelope struct {
	Sender  crypto.PublicKey
	Payload object.Object
}

type Router

type Router interface {
	Send(*peer.Peer, object.Object) error
	Handle() <-chan Envelope
}

func New

func New() Router

Jump to

Keyboard shortcuts

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