Documentation
¶
Index ¶
- func CleanupExpiredFileSystemEntries()
- func ClearFileSystemCache()
- func GetDirectoryRoot(key string, resolver func() (string, error)) (string, error)
- func GetFileExists(key string, checker func() bool) bool
- func GetModulePath(key string, resolver func() (string, error)) (string, error)
- type Entry
- type FileSystemCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupExpiredFileSystemEntries ¶
func CleanupExpiredFileSystemEntries()
func ClearFileSystemCache ¶
func ClearFileSystemCache()
func GetDirectoryRoot ¶
func GetFileExists ¶
Types ¶
type FileSystemCache ¶
type FileSystemCache struct {
// contains filtered or unexported fields
}
func NewFileSystemCache ¶
func NewFileSystemCache(ttl time.Duration) *FileSystemCache
func (*FileSystemCache) CleanupExpired ¶
func (fsc *FileSystemCache) CleanupExpired()
func (*FileSystemCache) Clear ¶
func (fsc *FileSystemCache) Clear()
func (*FileSystemCache) Delete ¶
func (fsc *FileSystemCache) Delete(key string)
func (*FileSystemCache) Get ¶
func (fsc *FileSystemCache) Get(key string) (interface{}, bool)
func (*FileSystemCache) Set ¶
func (fsc *FileSystemCache) Set(key string, value interface{})
Click to show internal directories.
Click to hide internal directories.