Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTT_WEBHOOK = iota + 1 HTT_SERVICE )
Hook task types.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Payload ¶
type Payload struct { Secret string `json:"secret"` Ref string `json:"ref"` Commits []*PayloadCommit `json:"commits"` Repo *PayloadRepo `json:"repository"` Pusher *PayloadAuthor `json:"pusher"` }
Payload represents payload information of hook.
type PayloadAuthor ¶
type PayloadCommit ¶
type PayloadCommit struct { Id string `json:"id"` Message string `json:"message"` Url string `json:"url"` Author *PayloadAuthor `json:"author"` }
type PayloadRepo ¶
Click to show internal directories.
Click to hide internal directories.