Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChroot error = fmt.Errorf("Chroot error")
View Source
var ErrKeyNotFound error = fmt.Errorf("Key not found")
Functions ¶
This section is empty.
Types ¶
type LocalProvider ¶
type LocalProvider struct {
// contains filtered or unexported fields
}
func NewLocalProvider ¶
func NewLocalProvider(conf LocalConf) (LocalProvider, error)
func (LocalProvider) Get ¶
func (p LocalProvider) Get(key string) (io.ReadCloser, error)
type S3Provider ¶
type S3Provider struct {
// contains filtered or unexported fields
}
func NewS3Provider ¶
func NewS3Provider(conf S3Conf) (S3Provider, error)
func (S3Provider) Get ¶
func (p S3Provider) Get(key string) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.