Documentation ¶
Index ¶
- type AfterCloseFunc
- type AfterNextFunc
- type AfterNextSyncFunc
- type AfterRestFunc
- type BeforeCloseFunc
- type BeforeNextFunc
- type BeforeNextSyncFunc
- type BeforeRestFunc
- type Option
- func WithAfterClose(f AfterCloseFunc) Option
- func WithAfterNext(f AfterNextFunc) Option
- func WithAfterNextSync(f AfterNextSyncFunc) Option
- func WithAfterRest(f AfterRestFunc) Option
- func WithBeforeClose(f BeforeCloseFunc) Option
- func WithBeforeNext(f BeforeNextFunc) Option
- func WithBeforeNextSync(f BeforeNextSyncFunc) Option
- func WithBeforeRest(f BeforeRestFunc) Option
- type Options
- type Results
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfterCloseFunc ¶
AfterCloseFunc is a handler for the after Close hook
type AfterNextFunc ¶
AfterNextFunc is a handler for the after Next hook
type AfterNextSyncFunc ¶
AfterNextSyncFunc is a handler for the after NextSync hook
type AfterRestFunc ¶
AfterRestFunc is a handler for the after Rest hook
type BeforeCloseFunc ¶
type BeforeCloseFunc func()
BeforeCloseFunc is a handler for the before Close hook
type BeforeNextFunc ¶
type BeforeNextFunc func()
BeforeNextFunc is a handler for the before Next hook
type BeforeNextSyncFunc ¶
type BeforeNextSyncFunc func()
BeforeNextSyncFunc is a handler for the before NextSync hook
type BeforeRestFunc ¶
BeforeRestFunc is a handler for the before Rest hook
type Option ¶
Option is the results option type.
func WithAfterClose ¶
func WithAfterClose(f AfterCloseFunc) Option
WithAfterClose configures a hook that is called _after_ Rest. Defaults to noop.
func WithAfterNext ¶
func WithAfterNext(f AfterNextFunc) Option
WithAfterNext configures a hook that is called _after_ Next. Defaults to noop.
func WithAfterNextSync ¶
func WithAfterNextSync(f AfterNextSyncFunc) Option
WithAfterNextSync configures a hook that is called _after_ NextSync. Defaults to noop.
func WithAfterRest ¶
func WithAfterRest(f AfterRestFunc) Option
WithAfterRest configures a hook that is called _after_ Rest. Defaults to noop.
func WithBeforeClose ¶
func WithBeforeClose(f BeforeCloseFunc) Option
WithBeforeClose configures a hook that is called _before_ Close. Defaults to noop.
func WithBeforeNext ¶
func WithBeforeNext(f BeforeNextFunc) Option
WithBeforeNext configures a hook that is called _before_ Next. Defaults to noop.
func WithBeforeNextSync ¶
func WithBeforeNextSync(f BeforeNextSyncFunc) Option
WithBeforeNextSync configures a hook that is called _before_ NextSync. Defaults to noop.
func WithBeforeRest ¶
func WithBeforeRest(f BeforeRestFunc) Option
WithBeforeRest configures a hook that is called _before_ Rest. Defaults to noop.
type Options ¶
type Options struct { BeforeNext BeforeNextFunc AfterNext AfterNextFunc BeforeNextSync BeforeNextSyncFunc AfterNextSync AfterNextSyncFunc BeforeRest BeforeRestFunc AfterRest AfterRestFunc BeforeClose BeforeCloseFunc AfterClose AfterCloseFunc }
Options are results options.