Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidToken = fmt.Errorf("token is invalid") ErrTokenExpired = fmt.Errorf("token is expired") )
Known errors.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(logger *zap.Logger, keysRepo db_keys.Repository) *Service
func (*Service) IssueToken ¶
Click to show internal directories.
Click to hide internal directories.