ghdefaults

package
v0.0.0-...-56f6100 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIgnore      = errors.New("ignoring")
	ErrSetDefaults = errors.New("errors setting repo defaults")
)

Functions

func Register

func Register(a *App, r yrun.HTTPRegistrar)

Types

type App

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

func New

func New(c Config, o yrun.O11y) (*App, error)

func (*App) ServeHTTP

func (a *App) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type Config

type Config struct {
	Host          string
	AppID         int64
	PrivateKey    string
	WebhookSecret string
}

Jump to

Keyboard shortcuts

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