MCPcopy Create free account
hub / github.com/encodeous/nylon / pubRouteProto

Function pubRouteProto

core/ipc_handler.go:343–348  ·  view source on GitHub ↗
(route state.PubRoute)

Source from the content-addressed store, hash-verified

341}
342
343func pubRouteProto(route state.PubRoute) *protocol.PubRoute {
344 return &protocol.PubRoute{
345 Source: sourceProto(route.Source),
346 Fd: fdProto(route.FD),
347 }
348}
349
350func neighRouteProto(route state.NeighRoute) *protocol.NeighRoute {
351 return &protocol.NeighRoute{

Callers 2

neighRouteProtoFunction · 0.85
selRouteProtoFunction · 0.85

Calls 2

sourceProtoFunction · 0.85
fdProtoFunction · 0.85

Tested by

no test coverage detected