webhook

package
v1.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ServerSet provides handlers and the server. nolint: gochecknoglobals

Functions

This section is empty.

Types

type Config

type Config struct {
	Address string `mapstructure:"address"`
}

type Handler added in v1.0.0

type Handler interface {
	Handle(w http.ResponseWriter, r *http.Request) error
}

type Logger added in v1.0.0

type Logger logr.Logger

func NewLogger added in v1.0.0

func NewLogger(logger logr.Logger) Logger

type Server

type Server struct {
	Config        Config
	Logger        logr.Logger
	GithubHandler *github.Handler
	HTTPHandler   *httphook.Handler
}

func (*Server) Start

func (s *Server) Start(stop <-chan struct{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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