prepared

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reply

type Reply struct {
	ProtoType protocol.Type
	Reply     *protocol.Reply
	// contains filtered or unexported fields
}

Reply is structure for encoding reply only once.

func NewReply

func NewReply(reply *protocol.Reply, protoType protocol.Type) *Reply

NewReply initializes Reply.

func (*Reply) Data

func (r *Reply) Data() []byte

Data returns data associated with reply which is only calculated once.

Jump to

Keyboard shortcuts

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