Documentation ¶
Index ¶
- func DecodeGRPCLastNameRequest(ctx context.Context, r interface{}) (interface{}, error)
- func DecodeGRPCLastNameResponse(ctx context.Context, r interface{}) (interface{}, error)
- func EncodeGRPCLastNameRequest(ctx context.Context, r interface{}) (interface{}, error)
- func EncodeGRPCLastNameResponse(ctx context.Context, r interface{}) (interface{}, error)
- func MakeGetLastNameEndpoint(s Service) endpoint.Endpoint
- func NewGRPCServer(ctx context.Context, endpoints MyEndpoints) mygrpcpb.MyGrpcServer
- func NewHTTPServer(ctx context.Context, endpoints MyEndpoints) http.Handler
- func NewSimpleLoggingMiddleware() endpoint.Middleware
- type MyEndpoints
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeGetLastNameEndpoint ¶
func NewGRPCServer ¶
func NewGRPCServer(ctx context.Context, endpoints MyEndpoints) mygrpcpb.MyGrpcServer
NewGRPCServer ...
func NewHTTPServer ¶
func NewHTTPServer(ctx context.Context, endpoints MyEndpoints) http.Handler
NewHTTPServer makes a new mygrpc HTTP service.
func NewSimpleLoggingMiddleware ¶
func NewSimpleLoggingMiddleware() endpoint.Middleware
Types ¶
type MyEndpoints ¶
func (MyEndpoints) GetLastName ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.