Documentation
¶
Index ¶
- Variables
- func FileExists(path string) bool
- func GinBindError(ctx *gin.Context, err error)
- func GinErrorResponse(ctx *gin.Context, err error, status int, message string)
- func Init()
- func MkCache(path string, data []byte, td time.Duration)
- func MkFile(path string, data []byte) error
- func PurgeFile(path string) error
- func PurgeFileAfter(path string, td time.Duration)
- func RemoveEmptyDirectories(dirPath string) error
- func RmFileAfter(path string, td time.Duration)
- type RestfulCommonResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *slog.Logger
Functions ¶
func FileExists ¶
func GinBindError ¶
func GinErrorResponse ¶
func RmFileAfter ¶
Types ¶
type RestfulCommonResponse ¶
Click to show internal directories.
Click to hide internal directories.