Documentation
¶
Index ¶
- Constants
- func GetDiseaseID(c *gin.Context) (diseaseID int, err error)
- func GetFoodID(c *gin.Context) (foodID int, err error)
- func GetFoodKindID(c *gin.Context) (kindID int, err error)
- func GetJpegImg(url string) (path string, err error)
- func GetKeyWord(c *gin.Context) (keyword string, err error)
- func GetKindID(c *gin.Context) (kindID int, err error)
- func GetUserID(token string) (userID int, err error)
- func VerifyToken(c *gin.Context) (success bool, userID int)
Constants ¶
View Source
const ( MethodGet = "get" MethodPost = "post" Token = "token" SessionID = "sessionID" )
Variables ¶
This section is empty.
Functions ¶
func GetJpegImg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.