webhook

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

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

func NewInput

func NewInput(dest, addr, configPath string, logger *slog.Logger, acceptHTTPMethods []string, executablePath string) (*Input, error)

func (*Input) ConfigPath

func (in *Input) ConfigPath() string

func (*Input) Destination

func (in *Input) Destination() string

func (*Input) GetLogger

func (in *Input) GetLogger() *slog.Logger

func (*Input) ListenAddress

func (in *Input) ListenAddress() string

func (*Input) Name

func (in *Input) Name() string

func (*Input) ShouldAccept

func (in *Input) ShouldAccept(req *http.Request) (bool, error)

func (*Input) Version

func (in *Input) Version() string

Jump to

Keyboard shortcuts

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