Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventTypePush = "push" EventTypePullRequest = "pull_request" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumeFunc ¶
type ConsumeFunc func(event interface{})
type Listener ¶
func NewListener ¶
func (Listener) SubscribePullRequest ¶
func (e Listener) SubscribePullRequest(consume ConsumeFunc)
func (Listener) SubscribePushEvent ¶
func (e Listener) SubscribePushEvent(consume ConsumeFunc)
Click to show internal directories.
Click to hide internal directories.