Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain []Constructor
Chain enables easy definition of custom handler chains.
func New ¶
func New(cc ...Constructor) Chain
New creates a new chain with the supplied Constructors.
func (Chain) Append ¶
func (c Chain) Append(cc ...Constructor) Chain
Append adds the Constructor to the end of the execution chain.
func (Chain) Prepend ¶
func (c Chain) Prepend(cc ...Constructor) Chain
Prepend adds the Constructor to the start of the execution chain.
Click to show internal directories.
Click to hide internal directories.