hooks

package
v1.138.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Unlicense Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(New),
)

Module for fx.

Functions

func New

func New(cfg *Config) (*hooks.Webhook, error)

New hook from config.

Types

type Config

type Config struct {
	Secret string `yaml:"secret" json:"secret" toml:"secret"`
}

Config for hooks.

Jump to

Keyboard shortcuts

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