enhancing logging. code broken

This commit is contained in:
2024-11-23 14:49:04 +09:00
parent afb3ad33af
commit 30f997d8e8
6 changed files with 74 additions and 68 deletions

View File

@ -1,9 +1,7 @@
hodu client <servee> <peer1> [<peer2> ...]
client requests server that it grants access to the list of peers
reserver
## normal operation
- ./hodu server --listen-on=0.0.0.0:9999 --listen-on=0.0.0.0:8888
- ./hodu client --listen-on=127.0.0.1:7777 --server=127.0.0.1:9999 192.168.1.130:8000
## server.json
```
@ -16,7 +14,8 @@ hodu client <servee> <peer1> [<peer2> ...]
}
```
## create a server
## client control channel
```
curl -X POST --data-binary @server.json http://127.0.0.1:7777/servers
```