Documentation ¶
Index ¶
- Variables
- func APIAbortResponse(c *gin.Context, status int, msg string, data interface{})
- func APIResponse(c *gin.Context, status int, msg string, data interface{})
- func CheckPassword(pass string, hash string) bool
- func GenerateApiToken() string
- func GetAgo(t time.Time) string
- func GetLaterTime(days int) time.Time
- func GetPaginationDetails(c *gin.Context) (int, int)
- func HashPassword(pass string) string
- func View(c *gin.Context, view string, layout string, data interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Blocks *blocks.Blocks
Functions ¶
func APIAbortResponse ¶
func CheckPassword ¶
func GenerateApiToken ¶
func GenerateApiToken() string
func GetLaterTime ¶
func HashPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.