Documentation ¶
Index ¶
- Variables
- type UserService
- func (s *UserService) ChangeActive(ctx context.Context, req *v1.ChangeActiveReq) (*v1.ChangeActiveReply, error)
- func (s *UserService) CreateUser(ctx context.Context, req *v1.CreateUserReq) (*v1.CreateUserReply, error)
- func (s *UserService) GetUser(ctx context.Context, req *v1.GetUserReq) (*v1.GetUserReply, error)
- func (s *UserService) GetUserByUsername(ctx context.Context, req *v1.GetUserByUsernameReq) (*v1.GetUserByUsernameReply, error)
- func (s *UserService) ListUser(ctx context.Context, req *v1.ListUserReq) (*v1.ListUserReply, error)
- func (s *UserService) Save(ctx context.Context, req *v1.SaveUserReq) (*v1.SaveUserReply, error)
- func (s *UserService) VerifyPassword(ctx context.Context, req *v1.VerifyPasswordReq) (*v1.VerifyPasswordReply, 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 { v1.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(uc *biz.UserUseCase, logger log.Logger) *UserService
func (*UserService) ChangeActive ¶
func (s *UserService) ChangeActive(ctx context.Context, req *v1.ChangeActiveReq) (*v1.ChangeActiveReply, error)
func (*UserService) CreateUser ¶
func (s *UserService) CreateUser(ctx context.Context, req *v1.CreateUserReq) (*v1.CreateUserReply, error)
func (*UserService) GetUser ¶
func (s *UserService) GetUser(ctx context.Context, req *v1.GetUserReq) (*v1.GetUserReply, error)
func (*UserService) GetUserByUsername ¶
func (s *UserService) GetUserByUsername(ctx context.Context, req *v1.GetUserByUsernameReq) (*v1.GetUserByUsernameReply, error)
func (*UserService) ListUser ¶
func (s *UserService) ListUser(ctx context.Context, req *v1.ListUserReq) (*v1.ListUserReply, error)
func (*UserService) Save ¶
func (s *UserService) Save(ctx context.Context, req *v1.SaveUserReq) (*v1.SaveUserReply, error)
func (*UserService) VerifyPassword ¶
func (s *UserService) VerifyPassword(ctx context.Context, req *v1.VerifyPasswordReq) (*v1.VerifyPasswordReply, error)
Click to show internal directories.
Click to hide internal directories.