webhook

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 11 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(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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