Documentation
¶
Index ¶
- func NewDriver() core.Driver
- type Driver
- type File
- type Storage
- func (s *Storage) Delete(key string) error
- func (s *Storage) Exists(key string) (bool, error)
- func (s *Storage) Files(dir string) ([]core.File, error)
- func (s *Storage) Get(key string) (content string, err error)
- func (s *Storage) Put(key string, localPath string) error
- func (s *Storage) Save(key string, localPath string) (err error)
- func (s *Storage) Size(key string) (int64, error)
- func (s *Storage) Storage() interface{}
- type Store
- func (s *Store) Delete(key string) error
- func (s *Store) Exists(key string) (bool, error)
- func (s *Store) Get(key string) (io.ReadCloser, error)
- func (s *Store) Iterator(dir string) core.FileIterator
- func (s *Store) Meta(key string) (http.Header, error)
- func (s *Store) Put(key string, localPath string) error
- func (s *Store) SaveToFile(key string, localPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) LastModified ¶
Click to show internal directories.
Click to hide internal directories.