Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretKeyAlreadyCreatedError ¶
func NewSecretKeyAlreadyCreatedError ¶
func NewSecretKeyAlreadyCreatedError(phoneNumber string) *SecretKeyAlreadyCreatedError
func (*SecretKeyAlreadyCreatedError) Error ¶
func (e *SecretKeyAlreadyCreatedError) Error() string
type SecretKeyService ¶
type SecretKeyService struct { EnvConfig config.EnvironmentConfig FriendsRepository *friendsrepository.FriendsRepository }
func New ¶
func New( envConfig config.EnvironmentConfig, friendsRepository *friendsrepository.FriendsRepository, ) *SecretKeyService
func (*SecretKeyService) GenerateSecretKey ¶
func (sks *SecretKeyService) GenerateSecretKey(phoneNumber string) (string, error)
Click to show internal directories.
Click to hide internal directories.