Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Github ¶
type Github struct {
//Github username and repository name
User, Repo string
//Interval between fetches
Interval time.Duration
//Asset is used to find matching release asset.
//By default a file will match if it contains
//both GOOS and GOARCH.
Asset func(filename string) bool
// contains filtered or unexported fields
}
type HTTP ¶
type HTTP struct {
//URL to poll for new binaries
URL string
Interval time.Duration
CheckHeaders []string
// contains filtered or unexported fields
}
type S3 ¶
type S3 struct {
//Access key falls back to env AWS_ACCESS_KEY, then metadata
Access string
//Secret key falls back to env AWS_SECRET_ACCESS_KEY, then metadata
Secret string
//Region defaults to ap-southeast-2
Region string
Bucket string
Key string
//Interval between checks
Interval time.Duration
//HeadTimeout defaults to 5 seconds
HeadTimeout time.Duration
//GetTimeout defaults to 5 minutes
GetTimeout time.Duration
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.