headers

package
v0.0.0-...-16c3cf3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MethodCall

type MethodCall struct {
	Module string
	Method string
	RKey   string            // Return Key
	Header map[string][]byte // Raw header data
}

func (*MethodCall) DecodeMsg

func (z *MethodCall) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (*MethodCall) EncodeMsg

func (z *MethodCall) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (*MethodCall) MarshalMsg

func (z *MethodCall) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*MethodCall) Msgsize

func (z *MethodCall) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*MethodCall) UnmarshalMsg

func (z *MethodCall) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

type MethodReturn

type MethodReturn struct {
	RKey string // Return Key
	Err  string
}

func (*MethodReturn) DecodeMsg

func (z *MethodReturn) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (MethodReturn) EncodeMsg

func (z MethodReturn) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (MethodReturn) MarshalMsg

func (z MethodReturn) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (MethodReturn) Msgsize

func (z MethodReturn) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*MethodReturn) UnmarshalMsg

func (z *MethodReturn) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

Jump to

Keyboard shortcuts

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