go-rpc/client.go

13 lines
128 B
Go
Raw Normal View History

2020-10-03 12:40:19 +02:00
package main
import (
""
)
func main() {
conn, err := grpc.Dial(*serverAddr)
if err != nil {
...
}
defer conn.Close()
}