Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chain ¶
func Chain(interceptors []kod.Interceptor) kod.Interceptor
Chain converts a slice of Interceptors into a single Interceptor.
func If ¶
func If(interceptor kod.Interceptor, condition Condition) kod.Interceptor
If returns an Interceptor that only invokes the given interceptor if the given condition is true.
Types ¶
Click to show internal directories.
Click to hide internal directories.