Documentation ¶
Index ¶
- func AccessResource(c *gin.Context)
- func AddHobby(c *gin.Context)
- func CreatePost(c *gin.Context)
- func CreateUser(c *gin.Context)
- func CreateUserAuth(c *gin.Context)
- func DeletePost(c *gin.Context)
- func GetHobbies(c *gin.Context)
- func GetPost(c *gin.Context)
- func GetPosts(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUsers(c *gin.Context)
- func Login(c *gin.Context)
- func RedisCreate(c *gin.Context)
- func RedisCreateHash(c *gin.Context)
- func RedisDelete(c *gin.Context)
- func RedisDeleteHash(c *gin.Context)
- func RedisRead(c *gin.Context)
- func RedisReadHash(c *gin.Context)
- func Refresh(c *gin.Context)
- func UpdatePost(c *gin.Context)
- func UpdateUser(c *gin.Context)
- type LoginPayload
- type RedisData
- type RedisDataHash
- type RedisDataHashValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessResource ¶ added in v1.4.0
AccessResource - can be accessed by basic auth
func RedisCreateHash ¶ added in v1.2.7
RedisCreateHash - SET hashes
func RedisDeleteHash ¶ added in v1.2.7
RedisDeleteHash - DEL hashes
Types ¶
type LoginPayload ¶
LoginPayload ...
type RedisDataHash ¶ added in v1.2.7
type RedisDataHash struct { Key string `json:"Key"` Value RedisDataHashValue }
RedisDataHash - key:hashValues
Click to show internal directories.
Click to hide internal directories.