Documentation
¶
Overview ¶
Package hooks contains various Webhook implementations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitbucketHook ¶
type BitbucketHook struct{}
A BitbucketHook contains push info in JSON within an x-www-form-urlencoded POST body
func (BitbucketHook) GetGitRepoUri ¶
func (h BitbucketHook) GetGitRepoUri(req *http.Request) (string, error)
type GitHubFormHook ¶
type GitHubFormHook struct{}
A GitHubFormHook contains push info in JSON within an x-www-form-urlencoded POST body
func (GitHubFormHook) GetGitRepoUri ¶
func (h GitHubFormHook) GetGitRepoUri(req *http.Request) (string, error)
type GitHubJsonHook ¶
type GitHubJsonHook struct{}
A GitHubFormHook contains push info in JSON
func (GitHubJsonHook) GetGitRepoUri ¶
func (h GitHubJsonHook) GetGitRepoUri(req *http.Request) (string, error)
type JenkinsHook ¶
type JenkinsHook struct{}
A JenkinsHook contains the repository URI in the "url" GET parameter
func (JenkinsHook) GetGitRepoUri ¶
func (h JenkinsHook) GetGitRepoUri(req *http.Request) (string, error)
Click to show internal directories.
Click to hide internal directories.