Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConf `json:"server"` Resizer ResizerConf `json:"resizer"` Storage StorageConf `json:"storage"` }
type OutputFormat ¶
type OutputFormat string
const OutputTypeJpeg OutputFormat = "jpeg"
const OutputTypeVary OutputFormat = "vary"
const OutputTypeWebp OutputFormat = "webp"
type ResizerConf ¶
type ResizerConf struct { SignatureMethod string `json:"signature_method"` SignatureSecret string `json:"signature_secret"` Presets json.RawMessage `json:"presets"` OutputType OutputFormat `json:"output_format"` WebpQCorrection int `json:"webp_q_correction"` JpegQCorrection int `json:"jpeg_q_correction"` }
type ServerConf ¶
type SharerConf ¶
type SharerConf struct {}
Click to show internal directories.
Click to hide internal directories.