hook

package
v0.10.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAfter

func CopyAfter(hook *After, new *After)

CopyAfter copy a after hook

func CopyBefore

func CopyBefore(hook *Before, new *Before)

CopyBefore copy a before hook

Types

type After

type After string

After after:search ...

func (*After) Exec

func (hook *After) Exec(value interface{}, sid string, global map[string]interface{}) (interface{}, error)

Exec execute the hook

func (*After) String

func (hook *After) String() string

String cast to string

type Before

type Before string

Before before:search ...

func (*Before) Exec

func (hook *Before) Exec(args []interface{}, sid string, global map[string]interface{}) ([]interface{}, error)

Exec execute the hook

func (*Before) String

func (hook *Before) String() string

String cast to string

Jump to

Keyboard shortcuts

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