Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GhTime ¶
func (GhTime) MarshalJSON ¶
func (*GhTime) UnmarshalJSON ¶
UnmarshalJSON custom unmarshaler for time.Time
type PushWebhookPayload ¶
type PushWebhookPayload struct {
Ref string `json:"ref"`
HookId int64 `json:"hook_id"`
Repository Repository `json:"repository"`
Pusher User `json:"pusher"`
HeadCommit Commit `json:"head_commit"`
}
type Repository ¶
type Repository struct {
ID int `json:"id"`
Name string `json:"name"`
FullName string `json:"full_name"`
Private bool `json:"private"`
HtmlUrl string `json:"html_url"`
Url string `json:"url"`
CreatedAt GhTime `json:"created_at"`
UpdatedAt GhTime `json:"updated_at"`
PushedAt GhTime `json:"pushed_at"`
GitUrl string `json:"git_url"`
SshUrl string `json:"ssh_url"`
CloneUrl string `json:"clone_url"`
SvnUrl string `json:"svn_url"`
Visibility string `json:"visibility"`
DefaultBranch string `json:"default_branch"`
MasterBranch string `json:"master_branch"`
}
Click to show internal directories.
Click to hide internal directories.