Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BorderObject ¶
type BorderObject struct {
Color string `json:"color"`
Width int `json:"width,omitempty"`
Top int `json:"top,omitempty"`
Right int `json:"right,omitempty"`
Bottom int `json:"bottom,omitempty"`
Left int `json:"left,omitempty"`
}
func (BorderObject) MarshalEasyJSON ¶
func (v BorderObject) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*BorderObject) UnmarshalEasyJSON ¶
func (v *BorderObject) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CFImage ¶
type CFImage struct {
Width int `json:"width,omitempty"`
Height int `json:"height,omitempty"`
Fit string `json:"fit,omitempty"`
Gravity interface{} `json:"gravity,omitempty"`
Background string `json:"background,omitempty"`
Rotate int `json:"rotate,omitempty"`
Dpr float64 `json:"dpr,omitempty"`
Trim interface{} `json:"trim,omitempty"`
Quality interface{} `json:"quality,omitempty"`
Format string `json:"format,omitempty"`
Anim bool `json:"anim,omitempty"`
Metadata string `json:"metadata,omitempty"`
Sharpen float64 `json:"sharpen,omitempty"`
Blur float64 `json:"blur,omitempty"`
Draw []Draw `json:"draw,omitempty"`
Border interface{} `json:"border,omitempty"`
Brightness float64 `json:"brightness,omitempty"`
Contrast float64 `json:"contrast,omitempty"`
Gamma float64 `json:"gamma,omitempty"`
Saturation float64 `json:"saturation,omitempty"`
Flip string `json:"flip,omitempty"`
Compression string `json:"compression,omitempty"`
Minify Minify `json:"minify,omitempty"`
Mirage bool `json:"mirage,omitempty"`
Polish string `json:"polish,omitempty"`
R2 R2 `json:"r2,omitempty"`
}
func (CFImage) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CFImage) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Draw ¶
type Draw struct {
URL string `json:"url"`
Opacity float64 `json:"opacity,omitempty"`
Repeat interface{} `json:"repeat,omitempty"`
Top int `json:"top,omitempty"`
Left int `json:"left,omitempty"`
Bottom int `json:"bottom,omitempty"`
Right int `json:"right,omitempty"`
Width int `json:"width,omitempty"`
Height int `json:"height,omitempty"`
Fit string `json:"fit,omitempty"`
Gravity interface{} `json:"gravity,omitempty"`
Background string `json:"background,omitempty"`
Rotate int `json:"rotate,omitempty"`
}
func (Draw) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Draw) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type GravityCoordinates ¶
func (GravityCoordinates) MarshalEasyJSON ¶
func (v GravityCoordinates) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*GravityCoordinates) UnmarshalEasyJSON ¶
func (v *GravityCoordinates) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type InitOptions ¶
func (InitOptions) MarshalEasyJSON ¶
func (v InitOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*InitOptions) UnmarshalEasyJSON ¶
func (v *InitOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Minify ¶
type Minify struct {
Javascript bool `json:"javascript"`
Css bool `json:"css"`
Html bool `json:"html"`
}
func (Minify) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Minify) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type R2 ¶
type R2 struct {
BucketColoId int `json:"bucketColoId,omitempty"`
}
func (R2) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*R2) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type RequestInitCF ¶
type RequestInitCF struct {
Apps bool `json:"apps"`
CacheEverything bool `json:"cacheEverything"`
CacheKey string `json:"cacheKey"`
CacheTags []string `json:"cacheTags"`
CacheTtl int `json:"cacheTtl"`
CacheTtlByStatus map[string]int `json:"cacheTtlByStatus"`
Mirage bool `json:"mirage"`
Polish string `json:"polish"`
ResolveOverride string `json:"resolveOverride"`
ScrapShield bool `json:"scrapShield"`
Webp bool `json:"webp"`
Image *CFImage `json:"image,omitempty"`
OriginAuth string `json:"origin-auth,omitempty"`
}
func (RequestInitCF) MarshalEasyJSON ¶
func (v RequestInitCF) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*RequestInitCF) UnmarshalEasyJSON ¶
func (v *RequestInitCF) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Trim ¶
type Trim struct {
Top int `json:"top,omitempty"`
Bottom int `json:"bottom,omitempty"`
Left int `json:"left,omitempty"`
Right int `json:"right,omitempty"`
Width int `json:"width,omitempty"`
Height int `json:"height,omitempty"`
Border interface{} `json:"border,omitempty"`
}
func (Trim) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Trim) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type TrimBorder ¶
type TrimBorder struct {
Color string `json:"color,omitempty"`
Tolerance float64 `json:"tolerance,omitempty"`
Keep float64 `json:"keep,omitempty"`
}
func (TrimBorder) MarshalEasyJSON ¶
func (v TrimBorder) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*TrimBorder) UnmarshalEasyJSON ¶
func (v *TrimBorder) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface