aboutsummaryrefslogtreecommitdiff
path: root/lib/websocket/examples/account.go
AgeCommit message (Collapse)Author
2026-01-03all: use SPDX license header formatShulhan
2023-12-13all: fix linter warnings reported by reviveShulhan
There are some reports that I disagree with revive, in example, code should not declare the type after variables. In my opinion, on some cases, declaring the type make the code more readable and explicit. Since I did not want to add new configuration file, we changes it and follow revive for now.
2023-09-11websocket/examples: add missing commentsShulhan
While at it, realign struct Account to make the size reduced from 32 to 24 bytes (-8).
2023-07-03websocket/examples: enhance the server and clientShulhan
In the server, change the listen port to 9101 to prevent conflict with autobahn test suite. In the client, add command "chat" and "chatbot". The "chat" command run client chart as before. The "chatbot" command create client for all known accounts and send N messages continuously.
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2020-06-10all: update email addressShulhan
2019-11-14websocket: add examples of WebSocket as chat server and clientShulhan