Documentation
¶
Overview ¶
Package grpc provides a gRPC client for the Rello service.
Index ¶
- func DecodeGRPCCheckListWebhookResponse(_ context.Context, grpcReply interface{}) (interface{}, error)
- func DecodeGRPCEmptyRPCResponse(_ context.Context, grpcReply interface{}) (interface{}, error)
- func EncodeGRPCCheckListWebhookRequest(_ context.Context, request interface{}) (interface{}, error)
- func EncodeGRPCEmptyRPCRequest(_ context.Context, request interface{}) (interface{}, error)
- func New(conn *grpc.ClientConn, options ...ClientOption) (pb.RelloServer, error)
- type ClientOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeGRPCCheckListWebhookResponse ¶
func DecodeGRPCCheckListWebhookResponse(_ context.Context, grpcReply interface{}) (interface{}, error)
DecodeGRPCCheckListWebhookResponse is a transport/grpc.DecodeResponseFunc that converts a gRPC checklistwebhook reply to a user-domain checklistwebhook response. Primarily useful in a client.
func DecodeGRPCEmptyRPCResponse ¶
DecodeGRPCEmptyRPCResponse is a transport/grpc.DecodeResponseFunc that converts a gRPC emptyrpc reply to a user-domain emptyrpc response. Primarily useful in a client.
func EncodeGRPCCheckListWebhookRequest ¶
EncodeGRPCCheckListWebhookRequest is a transport/grpc.EncodeRequestFunc that converts a user-domain checklistwebhook request to a gRPC checklistwebhook request. Primarily useful in a client.
func EncodeGRPCEmptyRPCRequest ¶
EncodeGRPCEmptyRPCRequest is a transport/grpc.EncodeRequestFunc that converts a user-domain emptyrpc request to a gRPC emptyrpc request. Primarily useful in a client.
func New ¶
func New(conn *grpc.ClientConn, options ...ClientOption) (pb.RelloServer, error)
New returns an service backed by a gRPC client connection. It is the responsibility of the caller to dial, and later close, the connection.
Types ¶
type ClientOption ¶
type ClientOption func(*clientConfig) error
ClientOption is a function that modifies the client config
func CtxValuesToSend ¶
func CtxValuesToSend(keys ...string) ClientOption