Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is a function type for building functional arguments, and is used for the parallel processing tools in the wpa, srv, and pubsub packages.
The type T should always be mutable (e.g. a map, or a pointer).
func Join ¶
Join takes a zero or more providers and produces a single combined provider. With zero or nil arguments, the operation becomes a noop.
func (Provider[T]) Apply ¶
Apply applies the current Operation Provider to the configuration, and if the type T implements a Validate() method, calls that. All errors are aggregated.
Click to show internal directories.
Click to hide internal directories.