aboutsummaryrefslogtreecommitdiff
path: root/go.sum
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).
2025-12-27go.mod: set minimum Go version to 1.24.0 and update all dependenciesShulhan
2025-02-03all: replace external linters with internalShulhan
The fieldalignment and shadow is linter from golang.org/x/tools. This linters actually have an API that can be combined into a program, which provided by package "pakakeh.go/lib/goanalysis".
2025-02-03go.mod: update all dependenciesShulhan
2025-02-03all: update all dependenciesShulhan
2025-02-03go.mod: update all dependenciesShulhan
2024-10-07all: update dependenciesShulhan
This include updating the git submodule on pakakeh.ts.
2024-09-07go.mod: update all dependenciesShulhan
2024-09-04go.mod: update all dependenciesShulhan
2024-06-08all: use [route.Path] to generate parametersShulhan
Using [route.String] does not works if the parameter can be empty, while [route.Path] replace all keys and return the path as is.
2024-06-08go.mod: update all dependenciesShulhan
2024-04-24all: refactoring form input for multipart form-dataShulhan
This changes replace handling type for storing multipart form-data from "map[string][]byte" to [*multipart.Form] based on changes on module "pakakeh.go".
2024-04-23all: add task to initialize the repository and toolsShulhan
The task "init" include initializing git submodule, installing third party tools for linters, and installing node packages.
2024-04-06Release gorankusu v0.6.1 (2024-04-06)v0.6.1Shulhan
This release replace "share" module with "pakakeh.go". The "share" module repository has been moved to SourceHut with new name "pakakeh.go". For more information about the changes see pakakeh.go project at https://sr.ht/~shulhan/pakakeh.go.
2024-03-15all: update module pakakeh.go to the tipShulhan
On the "lib/http" we refactoring RequestMethod and RequestType type from int to string for readability, when the value is encoded, for example to JSON. So instead of 0, 1 or 2; it will print "GET", "CONNECT", or "HEAD".
2024-03-15all: update module pakakeh.go to the tipShulhan
2024-03-05all: replace module "share" with "pakakeh.go"Shulhan
2024-02-16all: set default HTTPTarget Attack if its not setShulhan
Previously, the function for Attack need to be coded manually. This changes introduce new function DefaultHTTPAttack that generate HTTPAttackHandler based on the HTTPTarget method, request type, and Params; if AllowAttack is true and Attack is nil. Implements: https://todo.sr.ht/~shulhan/gorankusu/4
2024-02-04go.mod: update all dependenciesShulhan
2024-01-25all: support parameter binding in HTTP PathShulhan
If HTTP Path contains key, for example "/:book", and the Params contains the same key, the Path will be filled with value from Params. The same key in Params will be deleted and not send on query parameter or body.
2024-01-25go.mod: update all dependenciesShulhan
2023-11-11go.mod: update all dependenciesShulhan
This changes set minimum Go version to version 1.20.
2023-05-16go.mod: update all dependenciesShulhan
2023-05-05go.mod: set Go version to 1.19 and update all dependenciesShulhan
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-13all: update dependenciesShulhan
2022-02-05go.mod: update share module to v0.34.0Shulhan
2022-01-10all: update share and ciigo modulesShulhan
2021-12-20go.mod: update share and ciigo modules to latestShulhan
2021-12-06go.mod: update to latest share moduleShulhan
This changes update on how memfs initialized and GoEmbed called.
2021-10-17all: merge all workers for related to development to internal/cmdShulhan
Previously, we have a workers to recompile TypeScript and regenerate HTML files from adoc inside the Trunks type. The workers will run if the environment variable TRUNKS_DEV set to non-zero. This changes move those workers to the internal/cmd/trunks-example, because those workers are related for development only not for running Trunks server.
2021-10-11go.mod: update to latest share and ciigo moduleShulhan
Changes, * share: fix the HTTP caching using ETag on the server * share: rename the terminology to generate Go source code to "embed" * ciigo: check markup modification time before converting to HTML
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-25all: simplify development on trunks-exampleShulhan
Previously to developer and test trunks on local we need to run "tsc -w" on directory _www to watch and recompile any changes to TypeScript files, and run "go run ./cmd/trunks-example" to view the Trunks web interface. Since we will have internal documentation inside _www/docs, we need to run another ciigo server that watch any changes to .adoc files and convert it to HTML. Three separate commands for development. This changes refactoring the development process by running two goroutines when TRUNKS_DEV environment variable is set to non-empty. One goroutine watch any changes to TypeScript, HTML, and tsconfig files inside the _www, and when there is an update it will execute "tsc -p" to recompile and "go run ./internal/generate-memfs" to embed them into Go source. Another goroutine watch any changes to .adoc files inside "_www/docs" directory and convert them into HTML files. This goroutine will running in the background while the HTTP server is running too.
2021-09-18www: refactoring using TypeScript and wui libraryShulhan
Previously, the web user interface is written in pure, single JavaScript file. The LOC is short but its become hard to maintenance, especially when there is a change in HTML layout or on the response format. This changes rewrite the interface to use TypeScript in order to easily maintenance. The generated JavaScript is loaded using module [1]. [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
2021-08-06go.mod: update the share module to v0.29.1Shulhan
2021-04-07go.mod: update the share module to v0.25.1Shulhan
2021-03-27all: change the Run result to return dump of HTTP request and responseShulhan
Previously, we display the actual response of the HTTP target only on the user interface. This changes make the Run function to display the actual HTTP request and response that being send and received on HTTP target.
2021-03-21all: various changesShulhan
* Increase the DEBUG value to 3 to match with latest libhttp fix debug output of client request * _www: fix rendering HTTP headers, missing "target" parameter * Remove unused "IsRunning" from AttackResult * example: add an example endpoint for POST with x-www-form-urlencoded * Remove parameter Target on HttpRunHandler. The Target value can be retrieved from RunRequest.Target. * Target: change the field Vars type from map[string]string to KeyValue * Trunks: merge Target and HttpRequest from request to original Target and HttpTarget respectively before calling Run * Prefix the result file name with Target.ID * Move the package documentation to doc.go
2021-03-16all: update the vegeta to use module pathShulhan
The correct module name registered on go.mod is github.com/tsenart/vegeta/v12.
2021-03-15trunks: a module for testing HTTP servicesShulhan
Trunks is a library and HTTP service that provide web user interface to test HTTP service, similar to Postman, and for load testing. For the load testing we use vegeta [1] as the backend. [1] https://github.com/tsenart/vegeta