Don't loop the example forever
This commit is contained in:
parent
69ee0e4738
commit
6177bc2313
@ -121,11 +121,6 @@ func stream() {
|
||||
func main() {
|
||||
cmd.Init()
|
||||
|
||||
// client.DefaultClient = client.NewClient(
|
||||
// client.Codec("application/pb", pb.Codec),
|
||||
// client.ContentType("application/pb"),
|
||||
// )
|
||||
for {
|
||||
fmt.Println("\n--- Call example ---\n")
|
||||
for i := 0; i < 10; i++ {
|
||||
call(i)
|
||||
@ -151,6 +146,4 @@ func main() {
|
||||
)
|
||||
|
||||
call(1)
|
||||
time.Sleep(time.Millisecond * 100)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user