Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFount = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is media store that uses s3 compatible storage. It implements simple Get/Set operations, and in addition it can calculate sha256 checksum of already uploaded object.
TODO Seems like S3 API actually can calculate sha256 on server side, TODO but I couldn't get it working with minio. Need to investigate further.
func NewStore ¶
func NewStore(cfg *StoreConfig) (*Store, error)
func (*Store) CalcSha256 ¶
Click to show internal directories.
Click to hide internal directories.