hooks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hooks

type Hooks[P types.ParameterView] struct {
	types.AsyncHooks[P]
	types.SyncHooks[P]
}

func NewHooks

func NewHooks[P types.ParameterView]() *Hooks[P]

func (*Hooks[P]) CloseAsyncHooks

func (h *Hooks[P]) CloseAsyncHooks()

func (*Hooks[P]) OnCommandAsync

func (h *Hooks[P]) OnCommandAsync(options types.HookOptions) <-chan types.Command[P]

func (*Hooks[P]) OnParameterAsync

func (h *Hooks[P]) OnParameterAsync(options types.HookOptions) <-chan P

func (*Hooks[P]) OnSessionAsync

func (h *Hooks[P]) OnSessionAsync(options types.HookOptions) <-chan types.Session[P]

Jump to

Keyboard shortcuts

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