Documentation ¶
Index ¶
Constants ¶
View Source
const IndexVersion = 0x01
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct { Cid cid.Cid `json:"-"` Size int `json:"size"` Mime string `json:"mime"` Image *image.ImageProperties `json:"image"` Data []byte `json:"-"` Source BlobSource `json:"source"` Variants []BlobVariant `json:"variants"` Time string `json:"time"` Version uint8 `json:"version"` }
func (*Blob) Output ¶
func (b *Blob) Output(dir string, of *string, ofc *OutputFormatOptions) (BlobOutput, error)
type BlobOutput ¶
func (*BlobOutput) Body ¶
func (bo *BlobOutput) Body() []byte
type BlobSource ¶
type BlobVariant ¶
type BlobVariant struct { Size int `json:"size"` Mime string `json:"mime"` Image *image.ImageProperties `json:"image"` Time string `json:"time"` }
type OutputFormatOptions ¶
Click to show internal directories.
Click to hide internal directories.