interceptor

package
v0.0.0-...-80abf21 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 0 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(
	args []interface{},
) []interface{}

type Interceptor

type Interceptor func(
	method string,
	next Handler,
) Handler

type InterceptorChain

type InterceptorChain []Interceptor

func (InterceptorChain) Apply

func (chain InterceptorChain) Apply(
	args []interface{},
	method string,
	h Handler,
) []interface{}

Jump to

Keyboard shortcuts

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