Documentation ¶
Index ¶
- Variables
- type Base
- type Local
- type S3
- func (s S3) EntryExists(path string) (bool, error)
- func (s S3) GetID() string
- func (s S3) GetType() string
- func (s S3) ReadEntry(path string, writer io.Writer) error
- func (s S3) ShouldCache() bool
- func (s *S3) UnmarshalJSON(data []byte) error
- func (s S3) WriteEntry(path string, reader io.Reader) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Local ¶
func (Local) ShouldCache ¶
type S3 ¶
type S3 struct { Base AccessKey string `json:"accessKey"` SecretKey string `json:"secretKey"` Bucket string `json:"bucket"` Region string `json:"region"` BasePath string `json:"basePath"` // contains filtered or unexported fields }
func (S3) ShouldCache ¶
func (*S3) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.