package
0.0.4
Repository: https://github.com/louyuting/sentinel-golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ClearRules clears all parameter flow rules.
GetRules returns existing rules of the given resource.
No description provided by the author
LoadRules replaces old rules with the given hotspot parameter flow control rules.
No description provided by the author
SetTrafficShapingGenerator sets the traffic controller generator for the given control behavior.

# Constants

Concurrency represents concurrency count.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QPS represents request count per second.
No description provided by the author
No description provided by the author

# Structs

ConcurrencyStatSlot is to record the Concurrency statistic for all arguments.
ParamsMetric carries real-time counters for frequent ("hot spot") parameters.
Rule represents the hotspot(frequent) parameter flow control rule.
No description provided by the author
SpecificValue indicates the specific param, contain the supported param kind and concrete value.

# Interfaces

No description provided by the author

# Type aliases

ControlBehavior indicates the traffic shaping behaviour.
MetricType represents the target metric type.
ParamKind represents the Param kind.
TrafficControllerGenFunc represents the TrafficShapingController generator function of a specific control behavior.