Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubDriver ¶
type GithubDriver struct {
Auth string
}
GithubDriver is a driver for processing releases in Github format
func (GithubDriver) ApplyToReleases ¶
func (d GithubDriver) ApplyToReleases(repository string, callback func(title, body string) error) error
ApplyToReleases is a driver method, that obtains release information directly from GitHub releases API https://developer.github.com/v3/repos/releases/
For each obtained release callback function will be invoked Execution will be stopped when callback returns null or there are no more releases
func (GithubDriver) ApplyToReleasesLastProcessed ¶
func (d GithubDriver) ApplyToReleasesLastProcessed(repository string, callback func(title, body string) error, lastProcessed time.Time) error
ApplyToReleasesLastProcessed is similar to ApplyToReleases but also accepts time when this method was last called for this repository
Click to show internal directories.
Click to hide internal directories.