Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPayloadHandler ¶
func NewPayloadHandler(df digestFetcher) events.PayloadHandler
Types ¶
type PushPayload ¶
type PushPayload struct { CallbackURL string `json:"callback_url"` PushData PushData `json:"push_data"` Repository Repository `json:"repository"` }
type Repository ¶
type Repository struct { Status string `json:"status"` Namespace string `json:"namespace"` Name string `json:"name"` RepoName string `json:"repo_name"` RepoURL string `json:"repo_url"` Description string `json:"description"` FullDescription interface{} `json:"full_description"` StarCount int `json:"star_count"` IsPrivate bool `json:"is_private"` IsTrusted bool `json:"is_trusted"` IsOfficial bool `json:"is_official"` Owner string `json:"owner"` DateCreated int `json:"date_created"` }
Click to show internal directories.
Click to hide internal directories.