
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
github.com/offliney/onlinechat
Lightweight chat application implemented with golang.
Warning v3.x is still developing.
git clone https://github.com/OfflineY/LiveChat.git
cd LiveChat
go mod download
go run main.go
Note main.go return example:
{"data": "[main data]", "msg": "[err or nil]"}
[GET] api/groups/search
[PARAMS] ?name=[group_name]&id=[groups_id]
Note take at least one of the two key values. return
data:[...]
andmsg:nil/err
[POST] api/groups/create
[JSON] {"name":"[group_name]"}
Note return
"data":{"group_id": "...", "group_status": "<T/F>", "group_name": "..."}
andmsg:nil/err
[GET] api/groups/[group_id]/messages
Note return
"data":[{"_id":"...","group_id":"...","group_name":"...","msg":"...","msg_type":"[text/image]","send_time":"...","url":"...","user_name":"..."}...]
andmsg:nil/err
[GET] api/groups/[group_id]/info
Note return
"data":"[...]"
and"msg":nil/err
[POST] api/user/login
[JSON] {"user_name": "[user_name]", "password": "[password]"}
Note return
"data":"[...]"
and"msg":nil/err
[POST] api/user/register
[JSON] {"user_name": "[user_name]", "password": "[password]"}
Note return
"data":"[...]"
and"msg":nil/err
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.