hooks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	hooks.Module,
	fx.Invoke(Run),
)

Module for fx.

View Source
var SignFlag = flags.Bool()

SignFlag defines wether we should sign or not.

Functions

func Run

func Run(params RunParams)

Run for hooks.

Types

type RunParams

type RunParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Logger    *zap.Logger
	Webhook   *hooks.Webhook
}

RunParams for hooks.

Jump to

Keyboard shortcuts

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