iotex-proto: github.com/iotexproject/iotex-proto/golang Index | Files | Directories

package golang

import "github.com/iotexproject/iotex-proto/golang"

Index

Package Files

utils.go

func GetTypeFromRPCMsg Uses

func GetTypeFromRPCMsg(msg proto.Message) (iotexrpc.MessageType, error)

GetTypeFromRPCMsg retrieves the proto message type

func TypifyRPCMsg Uses

func TypifyRPCMsg(t iotexrpc.MessageType, msg []byte) (proto.Message, error)

TypifyRPCMsg unmarshal a proto message based on the given MessageType

Directories

PathSynopsis
iotexapiPackage iotexapi is a reverse proxy.
iotexrpc
iotextypes
protocol
testingpb

Package golang imports 5 packages (graph) and is imported by 2 packages. Updated 2019-10-08. Refresh now. Tools for package owners.