go-micro: github.com/micro/go-micro/util/proto Index | Files

package proto

import "github.com/micro/go-micro/util/proto"

Package proto contains utility functions for working with protobufs


Package Files


func ProtoToRoute Uses

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

ProtoToRoute decodes protobuf route into router route and returns it

func RouteToProto Uses

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

RouteToProto encodes route into protobuf and returns it

Package proto imports 2 packages (graph) and is imported by 1 packages. Updated 2020-02-22. Refresh now. Tools for package owners.