mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-09-20 10:39:19 +08:00
CapturePacketRate文档补充
This commit is contained in:
@@ -4,11 +4,6 @@ import "fmt"
|
||||
|
||||
// SetConfig set config by config key(name) and value
|
||||
func SetConfig(key string, val interface{}) (err error) {
|
||||
if key == catpurePacketRate.name {
|
||||
err = catpurePacketRate.setVal(val)
|
||||
return
|
||||
}
|
||||
|
||||
configMapLock.Lock()
|
||||
defer configMapLock.Unlock()
|
||||
|
||||
|
Reference in New Issue
Block a user