service

package
v0.0.0-...-31a9056 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CepServiceViaCep

type CepServiceViaCep struct {
}

func (CepServiceViaCep) GetAddr

func (c CepServiceViaCep) GetAddr(cep string) (*services.AddrProps, error)

type HashService

type HashService struct {
}

func (HashService) Compare

func (h HashService) Compare(data string, encrypedData string) (bool, error)

func (HashService) Hash

func (h HashService) Hash(data string) (*string, error)

type JWTService

type JWTService struct{}

func (JWTService) CreateToken

func (j JWTService) CreateToken(idUser string, expirationTimeInSeconds *uint) (*string, error)

func (JWTService) DecryptToken

func (j JWTService) DecryptToken(token string) (*string, error)

type SMTPService

type SMTPService struct {
}

func (SMTPService) SendConfirmationEmailToUser

func (s SMTPService) SendConfirmationEmailToUser(tokenOfConfirmation string, emailTo string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL