Add new function to generate files that can be resized. Add states for upcoming queue changes.
This commit is contained in:
@@ -23,6 +23,16 @@ import (
|
||||
"golang.org/x/image/font/inconsolata"
|
||||
)
|
||||
|
||||
type State int
|
||||
|
||||
const (
|
||||
Pending = iota
|
||||
Queued
|
||||
Uploading
|
||||
Complete
|
||||
Failed
|
||||
)
|
||||
|
||||
type HTTPClient interface {
|
||||
Do(req *http.Request) (*http.Response, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user