aboutsummaryrefslogtreecommitdiff
path: root/http_server.go
AgeCommit message (Collapse)Author
2026-02-04cmd/gorankusu: implement socket based activation with systemdHEADmaindevShulhan
The internal/cmd/gorankusu now can run using systemd.socket(5).
2024-03-15all: update module pakakeh.go to the tipShulhan
2024-03-05all: replace module "share" with "pakakeh.go"Shulhan
2024-02-21all: move constants declaration closer to its usageShulhan
2024-02-07all: rename the project to gorankusuShulhan
The original idea of "trunks" is because the core library that we use for load testing is named "vegeta" (from Dragon Ball) [1][2], and Vegeta has a son named Trunks. In English, trunks also have multiple meanings. In order to have a unique name, we rename the project to "gorankusu", which is a combination of "go" (the main programming language that built the application) and "torankusu" the Hepburn of "Trunks". [1]: https://github.com/tsenart/vegeta/ [2]: https://en.wikipedia.org/wiki/Vegeta Implements: https://todo.sr.ht/~shulhan/gorankusu/2
2024-02-04http_server: group HTTP paths API into constantsShulhan
2024-01-25all: fix warnings recommended by linter reviveShulhan
Most of the fixes related to naming variables with acronyms, for example HTTP, JSON, URL, and so on.
2023-11-11Makefile: replace the Go linter and apply all their recommendationsShulhan
Previously, we use golangci-lint as linter. This linter does not provides any useful recommendation lately and the development is quite a mess, sometimes its break when using Go tip. In this changes we replace it with revive, fieldalignment, and shadow; and fix all of their recommendations.
2023-05-16all: implement HTTP API to run and cancel attack on HTTP targetShulhan
This endpoints similar that we have in the WebSocket. The idea is to replace the WebSocket endpoints with this one.
2022-08-21go.mod: set minimum Go to 1.18 and update all dependenciesShulhan
This changes replace any usage of ioutil with os and io package.
2022-03-14all: changes the license of trunks software to GPL 3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl for more information.
2021-12-21all: add feature to register custom navigation linkShulhan
Using Trunks.RegisterNavLink, one can register custom link into left navigation menu.
2021-09-29all: implement WebSocket notification when attack finishedShulhan
When the attack finished, the WebSocket server will broadcast the result to all clients as message "/_trunks/api/attack/result".
2021-09-27all: implement WebSocket APIShulhan
The WebSocket API replace the HTTP APIs for running and canceling attack. Later, it will use to notify the result of attack.
2021-09-26all: unembed HTTP server on TrunksShulhan
Since we will implement API using WebSocket later, we need to split between the one that manage HTTP and one that manage WebSocket.