Skip to content

Commit

Permalink
Update incorrect examples
Browse files Browse the repository at this point in the history
  • Loading branch information
joeholley committed Nov 13, 2018
1 parent d2575fd commit 2944e14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ By default, Open Match expects you to run Redis *somewhere*. Connection informat

**Note:** These examples will be expanded on in future releases.

The following examples of how to call the APIs are provided in the repository. Both have associated `Dockerfile`s and `cloudbuild_COMPONENT.yaml` files:
The following examples of how to call the APIs are provided in the repository. Both have a `Dockerfile` and `cloudbuild.yaml` files in their respective directories:

* `frontendstub/main.go` calls the Frontend API continually, putting players into the queue with simulated latencies from major metropolitan cities.
* `backendstub/main.go` calls the Backend API and passes in the profile found in `backendstub/profiles/testprofile.json` to the `ListMatches` API endpoint, then prints the results.
* `examples/frontendclient/main.go` acts as a client to the the Frontend API, putting a player into the queue with simulated latencies from major metropolitan cities and a couple of other matchmaking attributes. It then waits for you to manually put a value in Redis to simulate a server connection string being written using the backend API 'CreateAssignments' call, and displays that value on stdout for you to verify.
* `examples/backendclient/main.go` calls the Backend API and passes in the profile found in `backendstub/profiles/testprofile.json` to the `ListMatches` API endpoint, then continually prints the results until you exit, or there are insufficient players to make a match based on the profile..

## Usage

Expand Down

0 comments on commit 2944e14

Please sign in to comment.