Documentation ¶
Index ¶
- Variables
- type FileStore
- func (s *FileStore) Close() error
- func (s *FileStore) Delete(key string) error
- func (s *FileStore) Exists(key string) (bool, error)
- func (s *FileStore) GetBytes(key string) ([]byte, bool, error)
- func (s *FileStore) GetNRGBA(key string) (*image.NRGBA, bool, error)
- func (s *FileStore) Initialize(config map[string]interface{}) error
- func (s *FileStore) SetBytes(key string, data []byte, ttl time.Duration) error
- type Store
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FileStore ¶
type FileStore struct { BaseDir string CleanInterval time.Duration // contains filtered or unexported fields }
func (*FileStore) Initialize ¶
Click to show internal directories.
Click to hide internal directories.