peer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Peer

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

Peer handles internal grpc requests.

func New

New creates a new Peering server for grpc requests.

func (*Peer) Route

func (p *Peer) Route(_ context.Context, request *peering.RouteRequest) (*peering.Empty, error)

func (*Peer) StartPeer

func (p *Peer) StartPeer(_ context.Context, request *peering.StartPeerRequest) (*peering.Empty, error)

Jump to

Keyboard shortcuts

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