Documentation ¶
Index ¶
- type UserServer
- func (s *UserServer) GetUser(ctx context.Context, req *userpb.GetUserRequest) (*userpb.UserResponse, error)
- func (s *UserServer) LoginUser(ctx context.Context, req *userpb.UserInputRequest) (*userpb.UserResponse, error)
- func (s *UserServer) RegisterUser(ctx context.Context, req *userpb.UserInputRequest) (*userpb.UserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer struct { userpb.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserServer ¶
func NewUserServer(userStore *usermodel.UserStore) *UserServer
func (*UserServer) GetUser ¶
func (s *UserServer) GetUser(ctx context.Context, req *userpb.GetUserRequest) (*userpb.UserResponse, error)
func (*UserServer) LoginUser ¶
func (s *UserServer) LoginUser(ctx context.Context, req *userpb.UserInputRequest) (*userpb.UserResponse, error)
func (*UserServer) RegisterUser ¶
func (s *UserServer) RegisterUser(ctx context.Context, req *userpb.UserInputRequest) (*userpb.UserResponse, error)
Click to show internal directories.
Click to hide internal directories.