Browse Source

Expanded the Readme

master
Archivist 5 years ago
parent
commit
b53de6cc2b
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      README.md

+ 18
- 0
README.md View File

@ -44,6 +44,24 @@ ring.get_slices_for(client_ip)
The output will provide you information to contact the service in a balanced way.
### In details
```crystal
Crystal::Scatter::Daemon (12, [2,0,0,0,0,0], "https://api05.myservice.com")
^ ^ ^ ^ ^ ^ ^ ^
| | | | | | | |
| | | | | | | L Real target
| | | | | | L Serving daemon
| | | | | L Serving server
| | | | L Serving PSU
| | | L Serving rack
| | L Serving room
| L Serving datacenter
L Weight
```
Such information is to be supplied to `Crystal::Scatter`.
## Contributing
1. [Fork it](https://git.nekoit.xyz/repo/fork/18)

Loading…
Cancel
Save