Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v3.10.13 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 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