github

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitCheckout

type GitCheckout interface {
	Refresh(ctx context.Context) error
}

type Provider

type Provider struct {
	Token     []byte
	Logger    *log.Logger
	Checkouts map[string]GitCheckout
}

func Setup

func Setup(pushToken string, logger *log.Logger, handler *gitdb.CheckoutHandler) *Provider

func (*Provider) SetupMux

func (p *Provider) SetupMux(mux *mux.Router)

Jump to

Keyboard shortcuts

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