Versions in this module Expand all Collapse all v0 v0.2.0 Feb 22, 2024 Changes in this version type Image + func ImageFromMagickWand(mw *imagick.MagickWand) Image v0.1.0 Feb 20, 2024 Changes in this version + var CmykIccProfile []byte = []byte + var RgbIccProfile []byte = []byte + func HandleDimsStatus(config EnvironmentConfig, debug bool, dev bool, w http.ResponseWriter, ...) + func Handler(kernel Kernel, config Config, w http.ResponseWriter, r *http.Request) + type Command struct + Args string + Name string + Operation Operation + type Config struct + DebugMode bool + DevelopmentMode bool + EtagAlgorithm string + type EdgeControl struct + DownstreamTtl int + type EnvironmentConfig struct + func ReadConfig() EnvironmentConfig + type Error struct + Background string + Image string + type Image struct + Bytes []byte + CacheControl string + EdgeControl string + Etag string + Format string + LastModified string + Size int + Status int + type Kernel interface + FetchImage func() error + ProcessImage func() (string, []byte, error) + SendError func(w http.ResponseWriter, status int, message string) + SendHeaders func(w http.ResponseWriter) + SendImage func(w http.ResponseWriter, status int, imageType string, imageBlob []byte) error + ValidateSignature func() bool + type Operation func(mw *imagick.MagickWand, args string) error + type Options struct + IncludeDisposition bool + StripMetadata bool + type OriginCacheControl struct + Default int + Error int + Max int + Min int + UseOrigin bool + type OutputFormat struct + Exclude []string + OutputFormat string + type Request struct + ClientId string + Commands []Command + Config Config + Error bool + Id string + ImageUrl string + SendContentDisposition bool + Signature string + SourceImage Image + func (r *Request) FetchImage() error + func (r *Request) ProcessImage() (string, []byte, error) + func (r *Request) SendError(w http.ResponseWriter, status int, message string) + func (r *Request) SendHeaders(w http.ResponseWriter) + func (r *Request) SendImage(w http.ResponseWriter, status int, imageFormat string, imageBlob []byte) error + type Signing struct + EtagAlgorithm string + SigningKey string + type Timeout struct + Download int