Skip to content

Commit

Permalink
Add syntax highlighting to supervision tree
Browse files Browse the repository at this point in the history
  • Loading branch information
danielberkompas committed Apr 21, 2018
1 parent b50b408 commit 2c30def
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Expand Up @@ -33,13 +33,17 @@ end

Once you have created your cluster, add it to your application's supervision tree:

children = [
MyApp.ElasticsearchCluster
]
```elixir
children = [
MyApp.ElasticsearchCluster
]
```

Finally, you can issue requests to Elasticsearch using it.

Elasticsearch.get(MyApp.ElasticsearchCluster, "/_cat/health")
```elixir
Elasticsearch.get(MyApp.ElasticsearchCluster, "/_cat/health")
```

## Configuration

Expand Down

0 comments on commit 2c30def

Please sign in to comment.