Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(authGenerator JWTEngine, repository Repository, internalBroker channel.Adapter, userValidator uservalidator.Validator) Service
func (Service) Login ¶
func (s Service) Login(req param.LoginRequest) (*param.LoginResponse, error)
func (Service) Register ¶
func (s Service) Register(req param.RegisterRequest) (*param.RegisterResponse, error)
Click to show internal directories.
Click to hide internal directories.