Documentation ¶
Index ¶
- func Bind(c *gin.Context, obj interface{}) error
- func DecryptPassword(hashedPassword string, formPassword string) error
- func EncryptPassword(pass string) string
- func FindParamInRequest(c *gin.Context, param string) string
- func FormatFloatToString(float float64) string
- func FormatIntToString(integer int64) string
- func GetJWTSecret() string
- func InterpretEnum(entity string, code int8) string
- func IsValidEmail(e string) bool
- func RemoveCharacter(s, chartype string) string
- func StripBearerPrefixFromTokenString(token string) (string, error)
- type Before
- type Constructed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptPassword ¶
func EncryptPassword ¶
func FormatFloatToString ¶
func FormatIntToString ¶
func GetJWTSecret ¶
func GetJWTSecret() string
func InterpretEnum ¶
func IsValidEmail ¶
the following function does not check whether the email is registered
func RemoveCharacter ¶
func StripBearerPrefixFromTokenString ¶
keep the string after the "TOKEN-" part of the string
Types ¶
type Constructed ¶
type Constructed struct {
Before
}
Click to show internal directories.
Click to hide internal directories.