Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeGRPCFooRequest ¶
DecodeGRPCFooRequest is a transport/grpc.DecodeRequestFunc that converts a gRPC request to a user-domain request. Primarily useful in a server. TODO: Do not forget to implement the decoder, you can find an example here : https://github.com/go-kit/kit/blob/master/examples/addsvc/transport_grpc.go#L62-L65
func EncodeGRPCFooResponse ¶
EncodeGRPCFooResponse is a transport/grpc.EncodeResponseFunc that converts a user-domain response to a gRPC reply. Primarily useful in a server. TODO: Do not forget to implement the encoder, you can find an example here : https://github.com/go-kit/kit/blob/master/examples/addsvc/transport_grpc.go#L62-L65
func MakeGRPCServer ¶
func MakeGRPCServer(endpoints endpoints.Endpoints) (req pb.TestGrpcServer)
MakeGRPCServer makes a set of endpoints available as a gRPC server.
Types ¶
This section is empty.