logic

package
v0.0.0-...-b1ea424 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logic

type Logic struct {
	// contains filtered or unexported fields
}

Logic is a struct that contains all the code and properties needed to send a message to subscribers of files and folders of a specific repository.

func New

func New(sender senderInterface, gh githubInterface, cfg *config.Config) *Logic

New returns a new instance of Logic.

func (*Logic) Process

func (l *Logic) Process(action string, owner string, repo string, number int, title string, description string) error

Process will, given an owner of a repository, its name and a PR number, alert subscriber about a new PR being opened if it affects any of their watched files or folders.

Jump to

Keyboard shortcuts

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