Documentation
¶
Index ¶
Constants ¶
View Source
const (
Megabyte = 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func VolatileDir ¶
VolatileDir creates a new cache directory that is stored on a tmpfs. This means data stored in this directory will NOT survive a reboot. Use this when you need to store data that needs to survive deamon reboot but not between reboots It is the caller's responsibility to remove the directory when no longer needed. If the directory already exist error of type os.IsExist will be returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.