Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiError ¶
type MultiError []error
func (MultiError) As ¶
func (e MultiError) As(target interface{}) bool
As allows you to use `errors.As()` to set target to the first error within the multi error that matches the target type.
func (MultiError) Error ¶
func (e MultiError) Error() string
func (MultiError) Is ¶
func (e MultiError) Is(target error) bool
Is allows you to determine if a generic error is in fact a MultiError using `errors.Is()` It will also return true if any of the contained errors match target.
type TickerPinger ¶
func NewIntervalTickerPinger ¶
func NewIntervalTickerPinger( interval time.Duration, OnPing OnPing, ) TickerPinger
Click to show internal directories.
Click to hide internal directories.