Documentation
¶
Index ¶
- Variables
- func FileExists(path string) bool
- func GetCacheFilePath(filename string) 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)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string = "dev" BuildTime string = "unknown" GitCommit string = "unknown" )
View Source
var ReqClient *req.Client
Functions ¶
func FileExists ¶
func GetCacheFilePath ¶ added in v0.3.0
func RmFileAfter ¶ added in v0.3.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.