Documentation ¶
Index ¶
- func CreateJwtToken(id string) (*string, error)
- func GetConfig(ctx context.Context) config.AppConfig
- func HandleError(err error)
- func HashAndSalt(pass []byte) string
- func ParseTemplate(templateFileName string, data interface{}) (*string, error)
- func ParseToken(authHeader string) (jwt.MapClaims, error)
- func SendEmail(email string, subject string, template string, templateData interface{}) error
- func SliceContains[K comparable](s []K, e K) bool
- func TimeNow() *time.Time
- type Mail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJwtToken ¶
func HandleError ¶
func HandleError(err error)
func HashAndSalt ¶
func ParseTemplate ¶
func ParseToken ¶
func SliceContains ¶
func SliceContains[K comparable](s []K, e K) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.