Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIDescription ¶
type APIDescription struct {
APIVersion string `json:"apiVersion"`
}
type Blob ¶
type Blob struct { Id int64 `db:"id" json:"id"` Name string `json:"name" validate:"required" db:"name"` Bucket string `json:"bucket" validate:"required" db:"bucket"` Date time.Time `json:"uploaded" db:"date"` Class BlobType `json:"type" validate:"required,oneof=permanent temp" db:"class"` Checksum string `db:"sha1" json:"sha1"` Uploader string `json:"owner" validate:"required" db:"uploader"` Metadata MetadataMap `json:"metadata" db:"metadata"` Size int64 `json:"size" db:"size"` }
type BlobIdentifier ¶
type BlobIdentifier int64
type BlobSearch ¶
type BlobUploadResponse ¶
type MetadataMap ¶
type MetadataMap map[string]interface{}
func (MetadataMap) Scan ¶
func (m MetadataMap) Scan(src interface{}) error
Click to show internal directories.
Click to hide internal directories.