big refactor. make compatible v2 and v1 interface
This commit is contained in:
@@ -21,7 +21,7 @@ func main() {
|
||||
log.Fatalf("did not connect: %v", err)
|
||||
}
|
||||
defer conn.Close()
|
||||
c := pb.NewHiddifyClient(conn)
|
||||
c := pb.NewHelloClient(conn)
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
|
||||
defer cancel()
|
||||
|
||||
Reference in New Issue
Block a user