Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStorage ¶
type LocalStorage struct {
// contains filtered or unexported fields
}
func NewLocalStorage ¶
func NewLocalStorage(dir, prefix string) (*LocalStorage, error)
func (LocalStorage) Backend ¶
func (s LocalStorage) Backend() string
func (*LocalStorage) Delete ¶
func (s *LocalStorage) Delete(fpath string) error
func (*LocalStorage) ServeHTTP ¶
func (s *LocalStorage) ServeHTTP(w http.ResponseWriter, r *http.Request)
type S3Storage ¶
type S3Storage struct {
// contains filtered or unexported fields
}
func NewS3Storage ¶
Click to show internal directories.
Click to hide internal directories.