protogen

package
v0.5.0-rc5-hotfix1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTypeFromRPCMsg

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

GetTypeFromRPCMsg retrieves the proto message type

func TypifyRPCMsg

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

TypifyRPCMsg unmarshal a proto message based on the given MessageType

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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