Versions in this module Expand all Collapse all v0 v0.1.0 Sep 9, 2017 Changes in this version + func ParseBody(body []byte) (kind string, hook interface{}, err error) + func ParseReader(in io.Reader) (kind string, hook interface{}, err error) + type ArtifactFile struct + Filename *string + Size *int + type Build struct + ArtifactsFile ArtifactFile + CreatedAt string + FinishedAt *string + Id int + Manual bool + Name string + Runner *string + Stage string + StartedAt *string + Status string + User User + When string + type BuildCommit struct + AuthorEmail string + AuthorName string + Duration *int + FinishedAt *string + Id int + Message string + Sha string + StartedAt *string + Status string + type BuildHook struct + BeforeSHA string + BuildAllowFailure bool + BuildDuration *int + BuildFinishedAt *string + BuildID int + BuildName string + BuildStage string + BuildStartedAt *string + BuildStatus string + Commit BuildCommit + ProjectID int + ProjectName string + Ref string + Repository Repository + SHA string + Tag bool + User User + type Commit struct + Added []string + Author User + Id string + Message string + Modified []string + Removed []string + Timestamp string + Url string + type Diff struct + AMode string + BMode string + DeletedFile bool + Diff string + NewFile bool + NewPath string + OldPath string + RenamedFile bool + type Hook struct + ObjectKind string + type Issue struct + Action string + AssigneeID *int + AssigneeIDs []int + AuthorID int + BranchName *string + CreatedAt string + Description string + IId int + Id int + MilestoneId *int + Position int + ProjectID int + State string + Title string + UpdatedAt string + Url string + type IssueHook struct + Assignee *User + Assignees []User + Labels []Label + ObjectAttributes Issue + Project Project + Repository Repository + User User + type Label struct + Color string + CreatedAt string + Description string + GroupID int + Id int + ProjectID int + Template bool + Title string + Type string + UpdatedAt string + type MergeRequest struct + Action string + Assignee User + AssigneeID *int + AuthorID int + CreatedAt string + Description string + IId int + Id int + LastCommit Commit + MergeStatus string + MilestoneId *int + Position int + Source Project + SourceBranch string + SourceProjectID int + StCommits []Commit + StDiffs []Diff + State string + Target Project + TargetBranch string + TargetProjectID int + Title string + UpdatedAt string + Url string + WorkInProgress bool + type MergeRequestHook struct + ObjectAttributes MergeRequest + User User + type Note struct + Attachment *string + AuthorID int + CommitID string + CreatedAt string + Id int + LineCode *string + Note string + NoteableID *int + NoteableType string + ProjectID int + StDiff *Diff + System bool + UpdatedAt string + Url string + type NoteHook struct + Commit Commit + Issue Issue + MergeRequest MergeRequest + ObjectAttributes Note + Project Project + ProjectID int + Repository Repository + Snippet Snippet + User User + type Pipeline struct + BeforeSHA string + CreatedAt string + Duration *int + FinishedAt string + Id int + Ref string + SHA string + Stages []string + Status string + Tag bool + type PipelineHook struct + Builds []Build + Commit Commit + ObjectAttributes Pipeline + Project Project + User User + type Project struct + AvatarUrl *string + DefaultBranch string + Description string + GitHttpUrl string + GitSshUrl string + Homepage string + HttpUrl string + Name string + Namespace string + PathWithNamespace string + SshUrl string + Url string + VisibilityLevel int + WebUrl string + type PushHook struct + After string + Before string + CheckoutSHA string + Commits []Commit + Project Project + ProjectID int + Ref string + Repository Repository + TotalCommitsCount int + UserAvatar string + UserEmail string + UserID int + UserName string + UserUsername string + type Repository struct + Description string + GitHttpUrl string + GitSshUrl string + Homepage string + Name string + Url string + VisibilityLevel int + type Snippet struct + AuthorID int + Content string + CreatedAt string + ExpiresAt string + FileName string + Id int + ProjectID int + Title string + Type string + UpdatedAt string + VisibilityLevel int + type TagHook struct + After string + Before string + CheckoutSHA string + Commits []Commit + Project Project + ProjectID int + Ref string + Repository Repository + TotalCommitsCount int + UserAvatar string + UserID int + UserName string + type User struct + AvatarUrl string + Email string + Name string + Username string + type Wiki struct + DefaultBranch string + GitHttpUrl string + GitSshUrl string + PathWithNamespace string + WebUrl string + type WikiPage struct + Action string + Content string + Format string + Message string + Slug string + Title string + Url string + type WikiPageHook struct + ObjectAttributes WikiPage + Project Project + User User + Wiki Wiki