big refactor. make compatible v2 and v1 interface
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
func main() {
|
||||
|
||||
// defer C.free(unsafe.Pointer(port))
|
||||
v2.StartGrpcServerGo("127.0.0.1:50051")
|
||||
v2.StartGrpcServer("127.0.0.1:50051")
|
||||
sigChan := make(chan os.Signal, 1)
|
||||
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
|
||||
<-sigChan
|
||||
|
||||
Reference in New Issue
Block a user