options

package
v3.10.21 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook interface{}

Hook func interface

type Hooks

type Hooks []Hook

Hooks func slice

func (*Hooks) Append

func (hs *Hooks) Append(h ...Hook)

Append is used to add hooks

func (*Hooks) EachNext

func (hs *Hooks) EachNext(fn func(Hook))

EachNext is used to itearate over hooks forward

func (*Hooks) EachPrev

func (hs *Hooks) EachPrev(fn func(Hook))

EachPrev is used to iterate over hooks backward

func (*Hooks) Replace

func (hs *Hooks) Replace(h ...Hook)

Replace is used to set hooks

Jump to

Keyboard shortcuts

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