Documentation ¶
Index ¶
- type UserServer
- func (s *UserServer) GetSms(ctx context.Context, in *user.GetSmsReq) (*user.UserReply, error)
- func (s *UserServer) GetUserInfo(ctx context.Context, in *user.GetUserInfoReq) (*user.UserReply, error)
- func (s *UserServer) Login(ctx context.Context, in *user.LoginReq) (*user.UserReply, error)
- func (s *UserServer) Register(ctx context.Context, in *user.RegisterReq) (*user.UserReply, error)
- func (s *UserServer) UpdateUserInfo(ctx context.Context, in *user.UpdateUserInfoReq) (*user.UserReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer struct {
// contains filtered or unexported fields
}
func NewUserServer ¶
func NewUserServer(svcCtx *svc.ServiceContext) *UserServer
func (*UserServer) GetUserInfo ¶
func (s *UserServer) GetUserInfo(ctx context.Context, in *user.GetUserInfoReq) (*user.UserReply, error)
获取用户信息
func (*UserServer) Register ¶
func (s *UserServer) Register(ctx context.Context, in *user.RegisterReq) (*user.UserReply, error)
用户注册
func (*UserServer) UpdateUserInfo ¶
func (s *UserServer) UpdateUserInfo(ctx context.Context, in *user.UpdateUserInfoReq) (*user.UserReply, error)
修改用户信息
Click to show internal directories.
Click to hide internal directories.