A learn-by-example golang project.
- user/chatroom features
- trietree based sensitive text filter
- low level transport/protocol
- custom combination of transport and protocol
- well structured
- client-side support
- more test cases
header | msgbody | payload |
2bit >Uint16 | header size | msg.ContentLength |
make [build]
make run
make test
# for test DB_DSN: "file::memory:" # override bind addr SERVER_BIND: "localhost:12345"