# Packages
Package main provides a protoc plugin that generates code for the protobuf encoding for YARPC.
No description provided by the author
# Functions
BuildProcedures builds the transport.Procedures.
CastError returns an error saying that generated code could not properly cast a proto.Message to it's expected type.
ClientBuilderOptions returns ClientOptions that yarpc.InjectClients should use for a specific client given information about the field into which the client is being injected.
NewClient creates a new client.
NewOnewayHandler returns a new OnewayHandler.
NewStreamClient creates a new stream client.
NewStreamHandler returns a new StreamHandler.
NewUnaryHandler returns a new UnaryHandler.
# Constants
Encoding is the name of this encoding.
JSONEncoding is the name of the JSON encoding.
# Variables
UseJSON says to use the json encoding for client/server communication.
# Structs
BuildProceduresOnewayHandlerParams contains the parameters for a OnewayHandler for BuildProcedures.
BuildProceduresParams contains the parameters for BuildProcedures.
BuildProceduresStreamHandlerParams contains the parameters for a StreamHandler for BuildProcedures.
BuildProceduresUnaryHandlerParams contains the parameters for a UnaryHandler for BuildProcedures.
ClientParams contains the parameters for creating a new Client.
ClientStream is a protobuf-specific client stream.
OnewayHandlerParams contains the parameters for creating a new OnewayHandler.
ServerStream is a protobuf-specific server stream.
StreamHandlerParams contains the parameters for creating a new StreamHandler.
UnaryHandlerParams contains the parameters for creating a new UnaryHandler.
# Interfaces
Client is a protobuf client.
ClientOption is an option for a new Client.
StreamClient is a protobuf client with streaming.