Documentation
¶
Index ¶
Constants ¶
View Source
const Md5 = "md5"
View Source
const Sha1 = "sha1"
Variables ¶
View Source
var CrcMask = uint32(0xffffffff) >> 6
View Source
var ErrorTimeout = errors.New("time out error")
Functions ¶
func SetCRCMask ¶
func SetCRCMask(n int)
Types ¶
type ErrHandler ¶
type ErrHandler func(err any)
type FetchHandler ¶
type IFanOut ¶
type IFanOut[T any] interface { Produce() chan T Compute(chan T) chan T Merge(...chan T) chan T }
type PriorityHandler ¶
type PriorityHandler func() error
type WaitGroupHandler ¶
type WaitGroupHandler func() error
Click to show internal directories.
Click to hide internal directories.