Documentation ¶
Index ¶
- type LocalStore
- func (s *LocalStore) Delete(path string) error
- func (s *LocalStore) Get(path string) (io.ReadCloser, error)
- func (s *LocalStore) GetSize(path string) (int64, error)
- func (s *LocalStore) GetURL(path string) string
- func (s *LocalStore) IsDefault() bool
- func (s *LocalStore) Save(content io.Reader, filename string) (string, error)
- func (s *LocalStore) SetDefault() error
- func (s *LocalStore) SetExpiry(path string, expiry time.Time) error
- func (s *LocalStore) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStore ¶
type LocalStore struct {
// contains filtered or unexported fields
}
func (*LocalStore) Delete ¶
func (s *LocalStore) Delete(path string) error
func (*LocalStore) Get ¶
func (s *LocalStore) Get(path string) (io.ReadCloser, error)
func (*LocalStore) GetURL ¶
func (s *LocalStore) GetURL(path string) string
func (*LocalStore) IsDefault ¶
func (s *LocalStore) IsDefault() bool
func (*LocalStore) SetDefault ¶
func (s *LocalStore) SetDefault() error
func (*LocalStore) Type ¶
func (s *LocalStore) Type() string
Click to show internal directories.
Click to hide internal directories.