server

package
v0.0.0-...-8625c6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) GetSms

func (s *UserServer) GetSms(ctx context.Context, in *user.GetSmsReq) (*user.UserReply, error)

获取短信验证码

func (*UserServer) GetUserInfo

func (s *UserServer) GetUserInfo(ctx context.Context, in *user.GetUserInfoReq) (*user.UserReply, error)

获取用户信息

func (*UserServer) Login

func (s *UserServer) Login(ctx context.Context, in *user.LoginReq) (*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)

修改用户信息

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL