Skip to content
/ haniel Public

Socket(Server/Client) IO simulation

Notifications You must be signed in to change notification settings

sb-im/haniel

Repository files navigation

Haniel

This Project name form なつみ(七罪)的天使 贗造魔女(Haniel)

あぁ、素直に笑えたら——もう、そんな事、赦されるはずもないだろ!

Let's learn meowing together: meow~ meow~ meow~ meow~ meow~ meow~ meow~

Socket(Server/Client) IO simulation

The Documentation

  • golang >= 1.13
./haniel -h
Usage of ./haniel:
-f string
the fixtures config (default "fixtures.yaml")
-d    No log, No prompt
-h    Show help
-l string
As socket Server Address default enable (default "localhost:1234")
-log string
the running log path (default "haniel.log")
-p string
As socket Client Address default disable '-p || -l'
./haniel -c fixtures.yaml -l localhost:8900


# As tcp client
nc -l 1234
./haniel -c fixtures.yaml -p localhost:1234