Documentation ¶
Index ¶
- type UserService
- func (u UserService) CreateUser(input *grpc.UserInput) (*grpc.UserResponse, error)
- func (u UserService) DeleteUser(id *grpc.ID) (*grpc.UserResponse, error)
- func (u UserService) ListUsers() (*grpc.ListUserRes, error)
- func (u UserService) ReadUser(id *grpc.ID) (*grpc.User, error)
- func (u UserService) UpdateUser(input *grpc.UserInput) (*grpc.UserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct{}
func GetUserService ¶
func GetUserService() *UserService
func (UserService) CreateUser ¶
func (u UserService) CreateUser(input *grpc.UserInput) (*grpc.UserResponse, error)
func (UserService) DeleteUser ¶
func (u UserService) DeleteUser(id *grpc.ID) (*grpc.UserResponse, error)
func (UserService) ListUsers ¶
func (u UserService) ListUsers() (*grpc.ListUserRes, error)
func (UserService) UpdateUser ¶
func (u UserService) UpdateUser(input *grpc.UserInput) (*grpc.UserResponse, error)
Click to show internal directories.
Click to hide internal directories.