proto

package
v2.0.0-beta.1+incompat... Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCError

type RPCError struct {
	Code    int64
	Message string
}

RPCError is the structure that is returned by each RPC call, which contains the error information for that call.

func (*RPCError) MarshalBson

func (rPCError *RPCError) MarshalBson(buf *bytes2.ChunkedWriter, key string)

MarshalBson bson-encodes RPCError.

func (*RPCError) UnmarshalBson

func (rPCError *RPCError) UnmarshalBson(buf *bytes.Buffer, kind byte)

UnmarshalBson bson-decodes into RPCError.

Jump to

Keyboard shortcuts

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