Go to file
2024-11-23 17:20:53 +09:00
cmd fixed the broken code for enhanced logging mechanism 2024-11-23 17:20:53 +09:00
c-peer.go reorganized the source to place the resuable code under the hodu package and keep the command entry point in the main package under the cmd directory 2024-11-23 12:30:23 +09:00
client.go enhancing logging. code broken 2024-11-23 14:49:04 +09:00
frame.go reorganized the source to place the resuable code under the hodu package and keep the command entry point in the main package under the cmd directory 2024-11-23 12:30:23 +09:00
go.mod added signal handler to the client 2024-11-13 02:20:25 +09:00
go.sum added some experimental code using grpc 2024-11-12 22:59:37 +09:00
hodu_grpc.pb.go updated Makefile to call protoc only if it's needed. 2024-11-23 12:34:23 +09:00
hodu.go enhancing logging. code broken 2024-11-23 14:49:04 +09:00
hodu.pb.go updated Makefile to call protoc only if it's needed. 2024-11-23 12:34:23 +09:00
hodu.proto reorganized the source to place the resuable code under the hodu package and keep the command entry point in the main package under the cmd directory 2024-11-23 12:30:23 +09:00
Makefile set proper dependency in Makefile 2024-11-23 12:41:49 +09:00
packet.go reorganized the source to place the resuable code under the hodu package and keep the command entry point in the main package under the cmd directory 2024-11-23 12:30:23 +09:00
README.md enhancing logging. code broken 2024-11-23 14:49:04 +09:00
s-peer.go enhancing logging. code broken 2024-11-23 14:49:04 +09:00
server.go fixed the broken code for enhanced logging mechanism 2024-11-23 17:20:53 +09:00

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

{
    "server-addr": "127.0.0.1:9999",
    "peer-addrs": [
        "127.0.0.1:22",
        "127.0.0.1:80"
    ]
}

client control channel

curl -X POST --data-binary @server.json http://127.0.0.1:7777/servers