Documentation ¶
Index ¶
- func DecodeLoginReq(ctx context.Context, r *http.Request) (request interface{}, err error)
- func EncodeRes(ctx context.Context, writer http.ResponseWriter, i interface{}) error
- func MakeLoginEndpoint(api Api) endpoint.Endpoint
- type Api
- type ApiSvr
- type Remote
- type ReqLogin
- type ResLogin
- type UserClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeLoginReq ¶
func EncodeRes ¶
func EncodeRes(ctx context.Context, writer http.ResponseWriter, i interface{}) error
func MakeLoginEndpoint ¶
Types ¶
type Remote ¶
type Remote struct {
// contains filtered or unexported fields
}
func (Remote) NewUserClient ¶
func (r Remote) NewUserClient(conn *grpc.ClientConn) pb.UserServer
type UserClient ¶
Click to show internal directories.
Click to hide internal directories.