Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(p Robot, o options.ServiceOptions)
Types ¶
type HandlerRegister ¶
type HandlerRegister interface {
RegisterIssueHandler(IssueHandler)
RegisterPullRequestHandler(PullRequestHandler)
RegisterPushEventHandler(PushEventHandler)
RegisterNoteEventHandler(NoteEventHandler)
}
type IssueHandler ¶
IssueHandler defines the function contract for a gitee.IssueEvent handler.
type NoteEventHandler ¶
NoteEventHandler defines the function contract for a gitee.NoteEvent handler.
type PullRequestHandler ¶
PullRequestHandler defines the function contract for a gitee.PullRequestEvent handler.
type PushEventHandler ¶
PushEventHandler defines the function contract for a gitee.PushEvent handler.
type Robot ¶
type Robot interface {
NewConfig() config.Config
RegisterEventHandler(HandlerRegister)
}
Click to show internal directories.
Click to hide internal directories.