Documentation ¶
Index ¶
- func MakeHealthCheckEndpoint(server hv1.HealthServer) endpoint.Endpoint
- func MakeLoginEndpoint(server pb.UserServer) endpoint.Endpoint
- func NoDecodeRequestFunc(ctx context.Context, i interface{}) (request interface{}, err error)
- func NoDecodeResponseFunc(ctx context.Context, i interface{}) (response interface{}, err error)
- func NoEncodeRequestFunc(ctx context.Context, i interface{}) (request interface{}, err error)
- func NoEncodeResponseFunc(ctx context.Context, i interface{}) (response interface{}, err error)
- type UserHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHealthCheckEndpoint ¶
func MakeHealthCheckEndpoint(server hv1.HealthServer) endpoint.Endpoint
func MakeLoginEndpoint ¶
func MakeLoginEndpoint(server pb.UserServer) endpoint.Endpoint
func NoDecodeRequestFunc ¶
func NoDecodeResponseFunc ¶
func NoEncodeRequestFunc ¶
func NoEncodeResponseFunc ¶
Types ¶
type UserHandler ¶
type UserHandler struct { LoginHandler grpctransport.Handler CheckHandler grpctransport.Handler }
func (UserHandler) Check ¶
func (us UserHandler) Check(ctx context.Context, req *hv1.HealthCheckRequest) (*hv1.HealthCheckResponse, error)
Click to show internal directories.
Click to hide internal directories.