Skip to content

Commit

Permalink
Update example comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Oct 7, 2021
1 parent 7bcb6aa commit 96c4142
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tools/examples/adder/adder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// the process's stdin and stdout.
//
// Usage:
// $ go build github.com/creachadair/jrpc2/cmd/examples/adder
// $ ./adder
// go build github.com/creachadair/jrpc2/tools/examples/adder
// ./adder
//
// Queries to try (copy and paste):
// {"jsonrpc":"2.0", "id":1, "method":"Add", "params":[1,2,3]}
Expand Down
4 changes: 2 additions & 2 deletions tools/examples/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
//
// Usage (communicates with the server example):
//
// go build github.com/creachadair/jrpc2/cmd/examples/client
// go build github.com/creachadair/jrpc2/tools/examples/client
// ./client -server :8080
//
// See also cmd/examples/server/server.go.
// See also examples/server/server.go.
package main

import (
Expand Down
4 changes: 2 additions & 2 deletions tools/examples/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
//
// Usage (see also the client example):
//
// go build github.com/creachadair/jrpc2/cmd/examples/http
// go build github.com/creachadair/jrpc2/tools/examples/http
// ./http -listen :8080
//
// The server accepts RPCs on http://localhost:<port>/rpc.
// The server accepts RPCs on http://<address>/rpc.
package main

import (
Expand Down
4 changes: 2 additions & 2 deletions tools/examples/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
//
// Usage (see also the client example):
//
// go build github.com/creachadair/jrpc2/cmd/examples/server
// go build github.com/creachadair/jrpc2/tools/examples/server
// ./server -address :8080
//
// See also cmd/examples/client/client.go.
// See also examples/client/client.go.
package main

import (
Expand Down

0 comments on commit 96c4142

Please sign in to comment.