Documentation
¶
Index ¶
- func CheckPasswordHash(password, hash string) bool
- func DeleteAuth(c *gin.Context)
- func GetAuthNow() int64
- func GetNewTodoId() uuid.UUID
- func GetNewUserId() uuid.UUID
- func GetUserIdByToken(c *gin.Context) (uuid.UUID, error)
- func HashPassword(password string) (string, error)
- func IsSameType(a interface{}, b interface{}) bool
- func ParseJwtToken(clientToken string) (*authClaims, error)
- func SetAuth(c *gin.Context, userId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func DeleteAuth ¶
func GetAuthNow ¶
func GetAuthNow() int64
func GetNewTodoId ¶
func GetNewUserId ¶
func HashPassword ¶
func IsSameType ¶
func IsSameType(a interface{}, b interface{}) bool
func ParseJwtToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.