Documentation ¶
Index ¶
- type UserServer
- func (s *UserServer) Login(ctx context.Context, in *user.LoginRequest) (*user.LoginResponse, error)
- func (s *UserServer) Register(ctx context.Context, in *user.RegisterRequest) (*user.RegisterResponse, error)
- func (s *UserServer) UserInfo(ctx context.Context, in *user.UserInfoRequest) (*user.UserInfoResponse, 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) Login ¶
func (s *UserServer) Login(ctx context.Context, in *user.LoginRequest) (*user.LoginResponse, error)
func (*UserServer) Register ¶
func (s *UserServer) Register(ctx context.Context, in *user.RegisterRequest) (*user.RegisterResponse, error)
func (*UserServer) UserInfo ¶
func (s *UserServer) UserInfo(ctx context.Context, in *user.UserInfoRequest) (*user.UserInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.