Documentation
¶
Index ¶
- Variables
- func NewKafkaSender(conf *conf.Server) (*kafka.Writer, error)
- type UserService
- func (s *UserService) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.User, error)
- func (uc *UserService) RenewToken(ctx context.Context, req *v1.RenewTokenRequest) (*v1.RenewTokenReply, error)
- func (s *UserService) VerifyPassword(ctx context.Context, r *v1.VerifyPasswordRequest) (*v1.VerifyPasswordReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUserService, NewKafkaSender)
ProviderSet is service providers.
Functions ¶
func NewKafkaSender ¶
Types ¶
type UserService ¶
type UserService struct { v1.UnimplementedUserServiceServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewUserService ¶
func NewUserService(uc *biz.UserUsecase, sessionUsecase *biz.SessionUsecase, tokenUsecase *biz.TokenUsecase, kw *kafka.Writer) *UserService
func (*UserService) CreateUser ¶
func (s *UserService) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.User, error)
func (*UserService) RenewToken ¶
func (uc *UserService) RenewToken(ctx context.Context, req *v1.RenewTokenRequest) (*v1.RenewTokenReply, error)
func (*UserService) VerifyPassword ¶
func (s *UserService) VerifyPassword(ctx context.Context, r *v1.VerifyPasswordRequest) (*v1.VerifyPasswordReply, error)
Click to show internal directories.
Click to hide internal directories.