aboutsummaryrefslogtreecommitdiff
path: root/lib/websocket/rootroute.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-07-01lib/websocket: reformat comments and documentationShulhan
2023-07-01lib/websocket: prefix the error with function or method namesShulhan
Adding prefix provide better way to locate and debug the error in the future.
2022-06-09lib/websocket: refactoring codeShulhan
Replace assignment from using ":=" to use variable declaration with type. Rationale: clarity and minimize duplicate temporary variables with the same type.
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2019-03-02websocket: add unit test for request and responseShulhan
The unit test catch an error with empty Request's Target or Method, also the wrong parameter when getting route.
2019-01-29lib/websocket: uncapitalized the first letter of error messagesShulhan
2018-11-30all: fix linter warnings on naked returnShulhan
2018-07-06Add implementation of websocket server and client (RFC 6455)Shulhan