Documentation
¶
Index ¶
- func CalculateCPUPercentUnix(previousCPU, previousSystem uint64, v *types.StatsJSON) float64
- func ExtractUserID(c *gin.Context) primitive.ObjectID
- func Response(c *gin.Context, statusCode int, err error, payload interface{})
- func SanitizeLog(str string) string
- func UnescapeString(str string) (unescapedString string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateCPUPercentUnix ¶
CalculateCPUPercentUnix compute docker cpu percent
func ExtractUserID ¶
ExtractUserID from JWT token
func SanitizeLog ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.