Documentation ¶
Index ¶
- func NewUserServiceGRPCProvider(usecase userservice.Usecase) us.UserServiceAPIServer
- type UserServiceGRPCProvider
- func (u UserServiceGRPCProvider) CreateUser(ctx context.Context, request *us.CreateUserRequest) (*us.CreateUserResponse, error)
- func (u UserServiceGRPCProvider) DeleteUser(ctx context.Context, request *us.DeleteUserRequest) (*us.DeleteUserResponse, error)
- func (u UserServiceGRPCProvider) GetUser(ctx context.Context, request *us.GetUserRequest) (*us.GetUserResponse, error)
- func (u UserServiceGRPCProvider) LoginUser(ctx context.Context, request *us.LoginUserRequest) (*us.LoginUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserServiceGRPCProvider ¶
func NewUserServiceGRPCProvider(usecase userservice.Usecase) us.UserServiceAPIServer
Types ¶
type UserServiceGRPCProvider ¶
type UserServiceGRPCProvider struct {
// contains filtered or unexported fields
}
func (UserServiceGRPCProvider) CreateUser ¶
func (u UserServiceGRPCProvider) CreateUser(ctx context.Context, request *us.CreateUserRequest) ( *us.CreateUserResponse, error)
func (UserServiceGRPCProvider) DeleteUser ¶
func (u UserServiceGRPCProvider) DeleteUser(ctx context.Context, request *us.DeleteUserRequest) ( *us.DeleteUserResponse, error)
func (UserServiceGRPCProvider) GetUser ¶
func (u UserServiceGRPCProvider) GetUser(ctx context.Context, request *us.GetUserRequest) ( *us.GetUserResponse, error)
func (UserServiceGRPCProvider) LoginUser ¶
func (u UserServiceGRPCProvider) LoginUser(ctx context.Context, request *us.LoginUserRequest) ( *us.LoginUserResponse, error)
Click to show internal directories.
Click to hide internal directories.