Initial commit

This commit is contained in:
hebo
2019-08-08 15:20:56 +08:00
parent 16b067ec89
commit 0f4a202c60
29 changed files with 1482 additions and 2 deletions

18
session-dealer/config.go Normal file
View 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")
}