Documentation
¶
Index ¶
- Constants
- func ParseReq(c *gin.Context) []byte
- func SetAccepted(c *gin.Context, msg string)
- func SetBadRequest(c *gin.Context, err error)
- func SetConflict(c *gin.Context, err error)
- func SetCreated(c *gin.Context, msg string, data any)
- func SetInternalServerError(c *gin.Context, err error)
- func SetNotFound(c *gin.Context, err error)
- func SetOk(c *gin.Context, msg string, data any)
- func SetRedirect(c *gin.Context, redirectUrl string)
- func SetUnauthorized(c *gin.Context, err error)
- type ComputeStatistic
- type Node
- type SpaceStatistic
- type SupportFileList
- type TuningList
Constants ¶
View Source
const ( Code = "code" Status = "status" Msg = "msg" Data = "data" )
Variables ¶
This section is empty.
Functions ¶
func SetAccepted ¶
func SetBadRequest ¶
func SetConflict ¶
func SetInternalServerError ¶
func SetNotFound ¶
func SetRedirect ¶
func SetUnauthorized ¶
Types ¶
type ComputeStatistic ¶
type SpaceStatistic ¶
type SupportFileList ¶
type TuningList ¶
Click to show internal directories.
Click to hide internal directories.