Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnableOutputAnimatedGIF uint64 = 1 << iota EnableOutputAnimatedWEBP EnableOutputAnimatedAVIF EnableOutputStaticWEBP EnableOutputStaticAVIF EnableOutputStaticPNG EnableOutputAnimated EnableOutputAnimatedThumbanils AllSettings uint64 = (1 << iota) - 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageVariant ¶
type Job ¶
type Job struct { ID string `json:"id"` AspectRatioXY []int `json:"aspect_ratio_xy"` Sizes map[string]ImageSize `json:"sizes"` Settings uint64 `json:"settings"` RawProvider RawProvider `json:"raw_provider"` RawProviderDetails jsoniter.RawMessage `json:"raw_provider_details"` ResultConsumer ResultConsumer `json:"result_consumer"` ResultConsumerDetails jsoniter.RawMessage `json:"result_consumer_details"` }
type RawProvider ¶
type RawProvider string
const ( AwsProvider RawProvider = "aws" LocalProvider RawProvider = "local" )
type RawProviderDetailsAws ¶
type RawProviderDetailsLocal ¶
type RawProviderDetailsLocal struct {
Path string `json:"path"`
}
type ResultConsumer ¶
type ResultConsumer string
const ( AwsConsumer ResultConsumer = "aws" LocalConsumer ResultConsumer = "local" )
type ResultConsumerDetailsLocal ¶
type ResultConsumerDetailsLocal struct {
PathFolder string `json:"path_folder"`
}
Click to show internal directories.
Click to hide internal directories.