Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserServer ¶
func NewUserServer() user.UserServer
Types ¶
type UserServer ¶
type UserServer struct { }
func (*UserServer) Login ¶
func (u *UserServer) Login(ctx context.Context, req *user.LoginReq) (*user.UserAuthRes, error)
func (*UserServer) Register ¶
func (u *UserServer) Register(ctx context.Context, req *user.RegisterReq) (*user.UserAuthRes, error)
Click to show internal directories.
Click to hide internal directories.