protogen

package
Version: v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 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.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL