Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements codes service.
func NewService ¶
func NewService( logger logger, domain string, emailClient emailSender, jwt *jwt.Service, ) *Service
NewService returns new serice instance.
func (*Service) CreateCode ¶
func (s *Service) CreateCode(ctx context.Context, request *codes.CreateCodeRequest) (*codes.Code, error)
CreateCode creates new authorization code.
Click to show internal directories.
Click to hide internal directories.