events

package
v0.0.0-...-2d7f00e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PING = iota
	PUSH
	PULL_REQUEST
	COMMIT_COMMENT
	CREATE
	DELETE
	DEPLOYMENT
	DEPLOYMENT_STATUS
	FORK
	GOLLUM
	ISSUE_COMMENT
	ISSUES
	MEMBER
	MEMBERSHIP
	PAGE_BUILD
	PUBLIC
	PULL_REQUEST_REVIEW_COMMENT
	PULL_REQUEST_REVIEW
	REPOSITORY
	RELEASE
	STATUS
	TEAM_ADD
	WATCH
)

Variables

View Source
var EventTypes = map[string]int{

	"ping": PING,

	"push": PUSH,

	"pull_request": PULL_REQUEST,

	"commit_comment": COMMIT_COMMENT,

	"create": CREATE,

	"delete": DELETE,

	"deployment": DEPLOYMENT,

	"deployment_status": DEPLOYMENT_STATUS,

	"fork": FORK,

	"gollum": GOLLUM,

	"issue_comment": ISSUE_COMMENT,

	"issues": ISSUES,

	"member": MEMBER,

	"membership": MEMBERSHIP,

	"page_build": PAGE_BUILD,

	"public": PUBLIC,

	"pull_request_review_comment": PULL_REQUEST_REVIEW_COMMENT,

	"pull_request_review": PULL_REQUEST_REVIEW,

	"repository": REPOSITORY,

	"release": RELEASE,

	"status": STATUS,

	"team_add": TEAM_ADD,

	"watch": WATCH,
}

Functions

This section is empty.

Types

type Event

type Event struct {
	ID   string
	Type int
	Name string
	Data map[string]interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL