Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserSrvOnce sync.Once
Functions ¶
This section is empty.
Types ¶
type UserSrv ¶
type UserSrv struct {
pb.UnimplementedUserServiceServer
}
var UserSrvIns *UserSrv
func GetUserSrv ¶
func GetUserSrv() *UserSrv
func (*UserSrv) UserLogin ¶
func (u *UserSrv) UserLogin(ctx context.Context, req *pb.UserLoginReq) (resp *pb.UserDetailResponse, err error)
func (*UserSrv) UserRegister ¶
func (u *UserSrv) UserRegister(ctx context.Context, req *pb.UserRegisterReq) (resp *pb.UserCommonResponse, err error)
Click to show internal directories.
Click to hide internal directories.