Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidBlurAmount = fmt.Errorf("Invalid blur amount")
)
Errors
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Database database.Provider Log *logger.Logger Tracer *tracing.Tracer RootURL string ImageServiceURL string HandlerTimeout time.Duration HMAC *hmac.HMAC }
API is a http api
type DeprecatedImage ¶
type DeprecatedImage struct { Format string `json:"format"` Width int `json:"width"` Height int `json:"height"` Filename string `json:"filename"` ID int `json:"id"` Author string `json:"author"` AuthorURL string `json:"author_url"` PostURL string `json:"post_url"` }
DeprecatedImage contains info about an image, in the old deprecated /list style
Click to show internal directories.
Click to hide internal directories.