local

package
v0.0.0-...-da893e2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 11 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNewClient is returned when a new Github client fails.
	ErrNewClient = fmt.Errorf("Failed to allocate new Github client")
)

Functions

func InstallationEvent

func InstallationEvent(event *github.InstallationEvent) error

InstallationEvent handles events when an application is installed for the first time.

func InstallationRepositoriesEvent

func InstallationRepositoriesEvent(event *github.InstallationRepositoriesEvent) error

InstallationRepositoriesEvent handles events when repositories are added or removed from a particular application installation.

Types

type Config

type Config struct {
	// Delay is
	Delay time.Duration
	// contains filtered or unexported fields
}

Config contains

func NewConfig

func NewConfig(delay time.Duration) *Config

NewConfig creates a new config instantce.

func (*Config) IssuesEvent

func (c *Config) IssuesEvent(event *github.IssuesEvent) error

IssuesEvent .

Jump to

Keyboard shortcuts

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