rpc: adjust client documentation
This commit is contained in:
parent
913e3878c5
commit
df8141ff7d
4 changed files with 25 additions and 9 deletions
|
@ -19,6 +19,12 @@ func Example() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
err = c.Init()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
if err := c.Ping(); err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue