示例#1
0
func init() {
	sandboxMap = make(map[string]*sandbox)
	createSandbox(TEST_SHARDED)
	createSandbox(TEST_UNSHARDED)
	tabletconn.RegisterDialer("sandbox", sandboxDialer)
	flag.Set("tablet_protocol", "sandbox")
}
示例#2
0
文件: conn.go 项目: henryanand/vitess
func init() {
	tabletconn.RegisterDialer("gorpc", DialTablet)
}