Documentation ¶
Index ¶
Constants ¶
View Source
const ( KindMatchPrefix = "servicecomb.match" KindRateLimitingPrefix = "servicecomb.rateLimiting" )
prefix const
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init()
Init go through all governance configs and call process func according to key prefix
func InstallProcessor ¶ added in v1.8.2
func InstallProcessor(keyPrefix string, process ProcessFunc)
InstallProcessor install a func to process config, if a config key matches the key prefix, then the func will process the config
func ProcessLimiter ¶
ProcessLimiter saves limiter, after a invocation is marked, go chassis will get correspond limiter with mark name
func ProcessMatch ¶
ProcessMatch saves all policy to match module then match module is able to mark invocation
Types ¶
Click to show internal directories.
Click to hide internal directories.