Discover Packages
github.com/xqk/ox
pkg
sentinel
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2021
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
AppName string `json:"appName"`
LogPath string `json:"logPath"`
FlowRules []*flow .Rule `json:"rules"`
FlowRulesFile string `json:"flowRulesFile"`
}
Config ...
DefaultConfig returns default config for sentinel
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.