util

package
v3.0.0-...-9d75b9b Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PeersToProto

func PeersToProto(node network.Node, depth uint) *pb.Peer

PeersToProto returns node peers graph encoded into protobuf

func ProtoToRoute

func ProtoToRoute(route *rtrPb.Route) router.Route

ProtoToRoute decodes protobuf route into router route and returns it

func RouteToProto

func RouteToProto(route router.Route) *rtrPb.Route

RouteToProto encodes route into protobuf and returns it

Types

This section is empty.

Jump to

Keyboard shortcuts

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