package
10.0.0+incompatible
Repository: https://github.com/jiangz222/go-zero.git
Documentation: pkg.go.dev
# Functions
Disable lets callers disable load shedding.
DisableLog disables the stat logs for load shedding.
NewAdaptiveShedder returns an adaptive shedder.
NewShedderGroup returns a ShedderGroup.
NewSheddingStat returns a SheddingStat.
WithBuckets customizes the Shedder with given number of buckets.
WithCpuThreshold customizes the Shedder with given cpu threshold.
WithWindow customizes the Shedder with given.
# Variables
ErrServiceOverloaded is returned by Shedder.Allow when the service is overloaded.
# Structs
A ShedderGroup is a manager to manage key based shedders.
No description provided by the author
# Type aliases
No description provided by the author