webhookx_signature

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() types.Plugin

Types

type Config

type Config struct {
	SigningSecret string `json:"signing_secret" validate:"required"`
}

func (*Config) ProcessDefault

func (cfg *Config) ProcessDefault()

func (*Config) Validate

func (cfg *Config) Validate() error

type SignaturePlugin

type SignaturePlugin struct {
	types.BasePlugin
	// contains filtered or unexported fields
}

func (*SignaturePlugin) Config

func (p *SignaturePlugin) Config() types.PluginConfig

func (*SignaturePlugin) Execute

func (p *SignaturePlugin) Execute(req *types.Request, context *types.Context)

Jump to

Keyboard shortcuts

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