MedzikUser
84eed33e24
docs: comment code
2022-08-12 23:12:29 +02:00
MedzikUser
25c2f0baa3
fix(id): fix add one to next id
...
- Fixed add one to next ID
- Added command /id
- Added `id` field to Client struct
2022-08-12 22:52:47 +02:00
MedzikUser
d0120a0703
refactor: rewrite
...
- Better Client struct (TCP and WebSocket in one type)
- WebSocket is now not a proxy to tcp
- Use async-std instead a tokio
- Use Arc and Client type now have a Clone derive
- Add global CLIENTS list
2022-08-12 22:32:22 +02:00
MedzikUser
5fa16c6705
fix(lint): clippy warnings
2022-08-04 16:39:55 +02:00
MedzikUser
45a9fe605d
release v0.3.0
2022-08-04 16:36:38 +02:00
MedzikUser
fc5afe56a1
feat(tcp client): add fn `peer_addr`
2022-07-29 22:10:49 +02:00
MedzikUser
3fb0a1132a
chore: some changes (more in the commit description)
...
- added `/disconnect` commands
- moved logger init function to other file
- updated command description
- the `/help` command has been accelerated
- re-export `async_trait` so that it doesn't have to be added to dependencies in plugins
2022-07-29 21:55:21 +02:00
MedzikUser
796084d13e
chore: some changes
...
- add macros for Mutex (currently unused)
- change logger to tracing
2022-07-28 22:32:28 +02:00
MedzikUser
f08093ecc7
chore(tcp): use tcp from tokio instead of std
2022-07-01 21:32:20 +02:00
MedzikUser
65c828bb09
chore(websocket): add comments in code
2022-06-25 21:38:08 +02:00
MedzikUser
2c144ae14a
add missing doc and handle if client sent an empty buffer
2022-06-17 22:32:07 +02:00
MedzikUser
51440c98f9
doc: update documentation
2022-06-17 13:43:23 +02:00
MedzikUser
01f6ed8ad8
`Client` change `async fn` to `fn`, because `async` is not used
2022-06-05 23:13:14 +02:00
MedzikUser
3975102736
refactor code
2022-06-04 21:34:53 +02:00