Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AppName string `json:"appName"` LogPath string `json:"logPath"` FlowRules []*flow.FlowRule `json:"rules"` FlowRulesFile string `json:"flowRulesFile"` }
Config ...
func (*Config) InitSentinelCoreComponent ¶
InitSentinelCoreComponent init sentinel core component Currently, only flow rules from json file is supported todo: support dynamic rule config todo: support more rule such as system rule
Click to show internal directories.
Click to hide internal directories.