Documentation ¶
Index ¶
- Variables
- type UserService
- func (s *UserService) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (*pb.CreateUserReply, error)
- func (s *UserService) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*pb.DeleteUserReply, error)
- func (s *UserService) GetUser(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)
- func (s *UserService) ListUser(ctx context.Context, req *pb.ListUserRequest) (*pb.ListUserReply, error)
- func (s *UserService) UpdateUser(ctx context.Context, req *pb.UpdateUserRequest) (*pb.UpdateUserReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUserService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct {
pb.UnimplementedUserServer
}
func NewUserService ¶
func NewUserService(usecase *biz.UserUsecase) *UserService
func (*UserService) CreateUser ¶
func (s *UserService) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (*pb.CreateUserReply, error)
func (*UserService) DeleteUser ¶
func (s *UserService) DeleteUser(ctx context.Context, req *pb.DeleteUserRequest) (*pb.DeleteUserReply, error)
func (*UserService) GetUser ¶
func (s *UserService) GetUser(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)
func (*UserService) ListUser ¶
func (s *UserService) ListUser(ctx context.Context, req *pb.ListUserRequest) (*pb.ListUserReply, error)
func (*UserService) UpdateUser ¶
func (s *UserService) UpdateUser(ctx context.Context, req *pb.UpdateUserRequest) (*pb.UpdateUserReply, error)
Click to show internal directories.
Click to hide internal directories.