aboutsummaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2026-02-09go.mod: update all dependenciesShulhan
2025-02-08internal/cmd/gocheck: add internal static analyzersShulhan
Instead of using binary fieldalignment and shadow, run them by creating command that call the same Analyzer internally. This analyzers help finding possible panic on httpd.go.
2025-01-11go.mod: update all dependenciesShulhan
2024-07-15internal/cmd/www: an HTTP server for testing web UIShulhan
The web user interface can be run using existing rescached server by setting the SERVER value in class Rescached (_www/rescached.js).
2021-12-27cmd/rescached: add command "embed" and to run in development modeShulhan
This two commands is used internally for development. The "embed" command embed all files inside "_www" directory into Go file "memfs_generate.go". This command replace "internal/generate_memfs.go". The "dev" command run the rescached server in development mode using "cmd/rescached/rescached.cfg.test" as the configuration. The "dev" command listen on DNS port 5350, so to prevent conflict with live rescached server, we run script _bin/nft_dnstest_chain.sh to redirect UDP and TCP requests from port 53 to port 5350.
2021-12-19go.mod: update to latest share moduleShulhan
The latest share module remove the ContentEncoding from memfs EmbedOptions. This option turns out break the HTTP content negotiation [1] of accept-encoding header, if the HTTP server does not handle it properly, like in default Go HTTP server that we use on rescached server. Update #10. [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation
2021-11-06all: update module share to v0.31.0Shulhan
2021-01-20all: rewrite the web user interface and the APIsShulhan
2021-01-12all: update with latest share modulesShulhan
This changes affect how the memfs.New and GoGenenerate called, does not affect the user.
2020-08-22generate_memfs: include png file to be embeddedShulhan
The only one png file is the favicon file.
2020-07-26all: implement the user interface to change configurationShulhan
This is the first web UI (wui) where user can change configuration on the fly. The wui is implemented using svelte.dev and can be accessed on http://127.0.0.1:5380.