Documentation ¶
Overview ¶
Package hooks implements the observer pattern
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct {
// contains filtered or unexported fields
}
Hook is a mechanism which supports the ability to dispatch data to arbitrary listener callbacks
func (*Hook) After ¶
After registers a callback function to be invoked after the hook action occurs.
Click to show internal directories.
Click to hide internal directories.