Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(passGen entity.PasswordGenerator) *service
Types ¶
type Service ¶
type Service interface { GeneratePasswordByLength(length int, passCharacters []rune) (string, error) CheckSpecialCharAndLettersQuantity(password *entity.PasswordGen) bool CheckSpecialCharAndNumbersQuantity(password *entity.PasswordGen) bool CheckLettersAndNumbersQuantity(password *entity.PasswordGen) bool CheckAllCharsQuantity(password *entity.PasswordGen) bool CheckCharConsiderations(password entity.PasswordGen) []rune }
Click to show internal directories.
Click to hide internal directories.