msg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadRequestType     = fmt.Errorf("bad request type")
	ErrBadResponseType    = fmt.Errorf("bad response type")
	ErrUnknownMessageType = fmt.Errorf("unknown message type")
)

Functions

func CodeToError

func CodeToError(errCode msgpb.ErrCode) error

func Read

func Read(r net.Conn) (interface{}, error)

func ReadTo

func ReadTo(r net.Conn, v interface{}) error

func Write

func Write(w net.Conn, v interface{}) error

Types

This section is empty.

Directories

Path Synopsis
Package msgpb is a generated protocol buffer package.
Package msgpb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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