mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-09 18:58:14 +08:00
Initial commit
This commit is contained in:
18
session-dealer/config.go
Normal file
18
session-dealer/config.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package session_dealer
|
||||
|
||||
import (
|
||||
"flag"
|
||||
)
|
||||
|
||||
const (
|
||||
ServiceTypeMysql = "mysql"
|
||||
)
|
||||
|
||||
var (
|
||||
serviceType string
|
||||
)
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&serviceType, "service_type", "mysql", "service type. Default is mysql")
|
||||
}
|
||||
|
Reference in New Issue
Block a user