package
1.0.5-aliyun-alpha
Repository: https://github.com/alibaba/sentinel-golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ClearRules clears all hotspot param flow rules.
ClearRulesOfResource clears resource level hotspot param flow rules.
GetRules returns all the hotspot param flow rules based on copy.
GetRulesOfResource returns specific resource's hotspot parameter flow control rules based on copy.
No description provided by the author
LoadRules replaces all old hotspot param flow rules with the given rules.
LoadRulesOfResource loads the given resource's hotspot param flow rules to the rule manager, while all previous resource's rules will be replaced.
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
QPS represents request count per second.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

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

# Interfaces

No description provided by the author

# Type aliases

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