|
|
@@ -20,6 +20,9 @@ import ( |
|
|
|
) |
|
|
|
|
|
|
|
func main() { |
|
|
|
go func() { |
|
|
|
http.ListenAndServe(":10001", nil) |
|
|
|
}() |
|
|
|
//config.Init() |
|
|
|
db.Init() |
|
|
|
|
|
|
@@ -34,9 +37,6 @@ func main() { |
|
|
|
}() |
|
|
|
|
|
|
|
//runtime.SetBlockProfileRate(1) |
|
|
|
go func() { |
|
|
|
http.ListenAndServe(":10001", nil) |
|
|
|
}() |
|
|
|
|
|
|
|
pb.RegisterBusinessIntServer(server, &api.BusinessIntServer{}) |
|
|
|
pb.RegisterBusinessExtServer(server, &api.BusinessExtServer{}) |
|
|
|