Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Asset ¶
type Asset struct { ID bson.ObjectId `bson:"_id,omitempty" json:"id,omitempty"` Original string `bson:"original" json:"original"` Hosted string `bson:"hosted" json:"hosted"` DataType string `bson:"dataType,omitempty" json:"dataType,omitempty"` MD5 string `bson:"hash" json:"hash"` Status string `bson:"status" json:"status"` Created time.Time `bson:"created_at" json:"created_at"` Updated time.Time `bson:"updated_at" json:"updated_at"` }
type Assets ¶
type Assets []Asset
Assets list.
func (Assets) HostRemotes ¶
HostRemotes assets into S3 bucket.
func (Assets) UpdateCache ¶
Click to show internal directories.
Click to hide internal directories.