Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForeverDir ¶
ForeverDir creates a new cache directory that is stored on the persistent cache. This means data stored in this directory will survive reboot It is the caller's responsibility to remove the directory when no longer needed.
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 survice 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, the the function does nothing and return successfully
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.