https://github.com/sb-im/haniel
Socket(Server/Client) IO simulation
https://github.com/sb-im/haniel
simulation socket
Last synced: 13 days ago
JSON representation
Socket(Server/Client) IO simulation
- Host: GitHub
- URL: https://github.com/sb-im/haniel
- Owner: sb-im
- Created: 2020-03-19T10:14:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-11T05:57:10.000Z (almost 5 years ago)
- Last Synced: 2025-02-21T15:52:44.711Z (over 1 year ago)
- Topics: simulation, socket
- Language: Go
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Haniel
This Project name form [なつみ(七罪)的天使 贗造魔女(Haniel)](https://zh.moegirl.org/zh-hans/镜野七罪)
> あぁ、素直に笑えたら——もう、そんな事、赦されるはずもないだろ!
> Let's learn meowing together: meow~ meow~ meow~ meow~ meow~ meow~ meow~
Socket(Server/Client) IO simulation
[The Documentation](fixtures.yaml)
* golang >= 1.13
```sh
./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'
```
```sh
./haniel -c fixtures.yaml -l localhost:8900
# As tcp client
nc -l 1234
./haniel -c fixtures.yaml -p localhost:1234
```