hook

package
v0.0.1-rc6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCustomStartHook

func AddCustomStartHook(name string, handler func(), order int, opts ...Option)

func DoCustomHooks

func DoCustomHooks(name string)

Types

type Option

type Option func(*Options)

func WithInterval

func WithInterval(interval time.Duration) Option

type Options

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

Jump to

Keyboard shortcuts

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