Documentation ¶
Index ¶
- func AliveSub(root, leaf *alive.Alive)
- func FoldErrChan(ch <-chan error) error
- func FoldErrors(errs []error) error
- func HexSpecialBytes(input []byte) string
- func HexSpecialString(input string) string
- func IntMillisecondDefault(x int, def time.Duration) time.Duration
- func IntSecondConfigDefault(x int, def int) time.Duration
- func IntSecondDefault(x int, def time.Duration) time.Duration
- func MustHex(s string) []byte
- func RandUnix() *rand.Rand
- func WithLock(l sync.Locker, f func())
- func WithLockError(l sync.Locker, f func() error) error
- func WrapErrChan(wg *sync.WaitGroup, ch chan<- error, fun func() error)
- type AtomicError
- type FatalFunc
- type Fataler
- type MockHTTP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FoldErrChan ¶
func FoldErrors ¶
func HexSpecialBytes ¶
func HexSpecialString ¶
Types ¶
type AtomicError ¶
type AtomicError struct {
// contains filtered or unexported fields
}
func (*AtomicError) Load ¶
func (a *AtomicError) Load() (error, bool)
Click to show internal directories.
Click to hide internal directories.