Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUserInfoReq ¶
type GetUserInfoReq = user.GetUserInfoReq
type RegisterReq ¶
type RegisterReq = user.RegisterReq
type UpdateUserInfoReq ¶
type UpdateUserInfoReq = user.UpdateUserInfoReq
type User ¶
type User interface { // 获取短信验证码 GetSms(ctx context.Context, in *GetSmsReq, opts ...grpc.CallOption) (*UserReply, error) // 用户注册 Register(ctx context.Context, in *RegisterReq, opts ...grpc.CallOption) (*UserReply, error) // 用户登陆 Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*UserReply, error) // 获取用户信息 GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*UserReply, error) // 修改用户信息 UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UserReply, error) }
Click to show internal directories.
Click to hide internal directories.