handler

package
Version: v0.0.0-...-434665c Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WebhookHandler

func WebhookHandler(opts ...Option) http.Handler

Types

type Config

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

func (*Config) Client

func (c *Config) Client() *github.Client

type Option

type Option func(c *Config)

func WithAppSecret

func WithAppSecret(s string) Option

func WithClient

func WithClient(client *github.Client) Option

func WithPrefix

func WithPrefix(p string) Option

func WithToken

func WithToken(t string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL