Documentation ¶
Index ¶
- func Failed(c *gin.Context, code int, message string, data ...any)
- func Fetch(c *gin.Context)
- func GetBranches(c *gin.Context)
- func GetComments(c *gin.Context)
- func GetPosts(c *gin.Context)
- func GetToken(c *gin.Context)
- func GetUser(c *gin.Context) *user.User
- func IsAdministrator(c *gin.Context)
- func IsSubmitter(c *gin.Context)
- func List(c *gin.Context)
- func Me(c *gin.Context)
- func Online(c *gin.Context)
- func Ping(c *gin.Context)
- func Register(c *gin.Context)
- func SetConfig(c *configs.Config) *configs.Config
- func Submit(c *gin.Context)
- func Succeed(c *gin.Context, data ...any)
- func Update(c *gin.Context)
- func Version(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fetch ¶
解析图片网址并返回文件 获取参数 https://blog.csdn.net/weixin_52690231/article/details/124109518 返回文件 https://blog.csdn.net/kilmerfun/article/details/123943070 重定向至 https://www.ngui.cc/el/3757797.html?action=onClick
func IsAdministrator ¶
func IsSubmitter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.