Documentation ¶
Index ¶
- Constants
- func AddJob(c *gin.Context)
- func CheckFiles(c *gin.Context)
- func Clear(c *gin.Context)
- func Close(c *gin.Context)
- func Cmd(c *gin.Context)
- func Cors(c *gin.Context)
- func CutString(s []byte) []string
- func Error(c *gin.Context, code int, err error, failed ...any) bool
- func Failed(c *gin.Context, code int, message string, data ...any)
- func Fetch(c *gin.Context)
- func Final(c *gin.Context, code int, err error, failed []any, succeed ...any)
- 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 ModifyListening(c *gin.Context)
- func Online(c *gin.Context)
- func Ping(c *gin.Context)
- func ReadLog(c *gin.Context)
- func Reboot(c *gin.Context)
- func Register(c *gin.Context)
- func RemoveJobs(c *gin.Context)
- func SetZero[T comparable](a *T, b ...T)
- func Shell(s string, dir ...string) ([]string, error)
- func Submit(c *gin.Context)
- func Succeed(c *gin.Context, data ...any)
- func TestJob(c *gin.Context)
- func TestJobs(c *gin.Context)
- func Update(c *gin.Context)
- func UpdatePermission(c *gin.Context)
- func Users(c *gin.Context)
- func Version(c *gin.Context)
Constants ¶
View Source
const VERSION = "v0.13.0"
Variables ¶
This section is empty.
Functions ¶
func CheckFiles ¶ added in v0.6.0
func Fetch ¶
解析图片网址并返回文件
获取参数 https://blog.csdn.net/weixin_52690231/article/details/124109518
返回文件 https://blog.csdn.net/kilmerfun/article/details/123943070
func IsAdministrator ¶
func IsSubmitter ¶
func UpdatePermission ¶ added in v0.5.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.