processor

package
v0.0.0-...-25a8327 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	IssueProcessor        *issueProcessor.IssueProcessor
	PullRequestProcessor  *pullRequestProcessor.PullRequestProcessor
	IssueCommentProcessor *issueCommentProcessor.IssueCommentProcessor
	PRCommentProcessor    *prCommentProcessor.PRCommentProcessor
}

Processor contains several specific processors

func New

func New(client *gh.Client, translator translators.Translator, owner string, repo string) *Processor

New initializes a brand new processor.

func (*Processor) HandleEvent

func (p *Processor) HandleEvent(eventType string, data []byte) error

HandleEvent processes an event received from github

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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