server

package
v0.0.0-...-592b0ac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 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) CheckToken

func (s *UserServer) CheckToken(ctx context.Context, in *user.CheckTokenReq) (*user.CheckTokenResp, error)

func (*UserServer) GetUserInfo

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

func (*UserServer) Login

func (s *UserServer) Login(ctx context.Context, in *user.LoginReq) (*user.LoginResp, error)

func (*UserServer) ModifyUserInfo

func (s *UserServer) ModifyUserInfo(ctx context.Context, in *user.ModifyUserInfoReq) (*user.NilResp, error)

func (*UserServer) Register2

func (s *UserServer) Register2(ctx context.Context, in *user.Register2Req) (*user.Register2Resp, error)

func (*UserServer) RegisterCore

func (s *UserServer) RegisterCore(ctx context.Context, in *user.RegisterCoreReq) (*user.RegisterCoreResp, error)

Jump to

Keyboard shortcuts

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