package
0.24.0
Repository: https://github.com/yarpc/yab.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewJSON returns a JSON serializer.
NewProtobuf returns a protobuf serializer.
NewRaw returns a raw serializer.
NewThrift returns a Thrift serializer.

# Constants

BidirectionalStream type RPC can send and receive multiple messages.
ClientStream method type RPC sends multiple messages.
The list of supported encodings.
The list of supported encodings.
The list of supported encodings.
ServerStream method type RPC receives multiple messages.
The list of supported encodings.
Unary method type is a traditional RPC.
The list of supported encodings.

# Variables

ErrSpecifyThriftFile is returned if no Thrift file is specified for a Thrift request.

# Structs

ThriftParams contains the parameters for the NewThrift function.

# Interfaces

ProtoErrorDeserializer deserializes errors.
Serializer serializes and deserializes data for a specific encoding and method.
StreamRequestReader interface exposes method to read multiple request body.
StreamSerializer serializes and deserializes data for a stream requests.

# Type aliases

Encoding is the representation of the data on the wire.
MethodType is type of the RPC method.