Documentation
¶
Index ¶
- Variables
- type GooseG
- type Opt
- type Sssly
- func (s *Sssly) Delete(keys ...string) error
- func (s *Sssly) Dir() ([]string, error)
- func (s *Sssly) Download(fname, key string) (int64, error)
- func (s *Sssly) NewReadCloser(key string) (io.ReadCloser, error)
- func (s *Sssly) NewWriteCloser(key string) *WriteCloser
- func (s *Sssly) Upload(key, fname string) error
- func (s *Sssly) UploadFromReader(key string, rd io.Reader, sz int64) error
- type WriteCloser
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOptionRequiredBasePath error = errors.New("Option required: base path")
View Source
var ErrOptionRequiredBucket error = errors.New("Option required: bucket")
View Source
var ErrOptionRequiredCredentials error = errors.New("Option required: credentials")
View Source
var ErrOptionRequiredEndpoint error = errors.New("Option required: endpoint")
View Source
var ErrOptionRequiredProfile error = errors.New("Option required: profile")
View Source
var ErrOptionRequiredRegion error = errors.New("Option required: region")
View Source
var ErrOptionWrongTypeBasePath error = errors.New("Option wrong type: base path")
View Source
var ErrOptionWrongTypeBucket error = errors.New("Option wrong type: bucket")
View Source
var ErrOptionWrongTypeCredentials error = errors.New("Option wrong type: credentials")
View Source
var ErrOptionWrongTypeEndpoint error = errors.New("Option wrong type: endpoint")
View Source
var ErrOptionWrongTypeHttpClient error = errors.New("Option wrong type: http client")
View Source
var ErrOptionWrongTypeHttpTransport error = errors.New("Option wrong type: http transport")
View Source
var ErrOptionWrongTypeProfile error = errors.New("Option wrong type: profile")
View Source
var ErrOptionWrongTypeRegion error = errors.New("Option wrong type: region")
Functions ¶
This section is empty.
Types ¶
type Sssly ¶
func (*Sssly) NewReadCloser ¶
func (s *Sssly) NewReadCloser(key string) (io.ReadCloser, error)
func (*Sssly) NewWriteCloser ¶
func (s *Sssly) NewWriteCloser(key string) *WriteCloser
type WriteCloser ¶
func (*WriteCloser) Close ¶
func (wr *WriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.