diff options
| author | Shulhan <ms@kilabit.info> | 2025-12-29 15:48:47 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-12-29 15:48:47 +0700 |
| commit | df9ab9327a6fa88ebb3880214b3194a28377a3ce (patch) | |
| tree | ff4baab6b45d5d621ff6713f5ed234dd818af78f /haminer.go | |
| parent | 76df394598f5953a2cba14ca0f95c4d9e52e9469 (diff) | |
| download | haminer-0.3.0.tar.xz | |
Release haminer v0.3.0 (2025-12-29)v0.3.0
**💧 Group documentation into _doc/ directory**.
This is so we can serve the documentation under
https://kilabit.info/project/haminer.
In the Makefile, we add task `serve-doc` to preview the documentation.
**💧 Replace module "share" with "pakakeh.go"**
The "share" module has been renamed to "pakakeh.go" and moved to different
git repository.
**💧 Realign struct HttpLog and questdbClient**
The HttpLog realign from 304 to 288 bytes.
The questdbClient realign from 56 to 24 bytes.
**🪵 Comply with all linters recommendations**
Some of breaking changes,
* Field [Config.HttpUrl] renamed to [Config.HTTPURL]
* Field [ConfigForwarder.Url] renamed to [ConfigForwarder.URL]
* Struct [HttpLog] renamed to [HTTPLog]
**💧 _ops/haminer-test: setup container for development using mkosi**
The container run HAProxy and PostgreSQL servers.
We also create new dummy backend to test backend in HAProxy.
The haminer-dummy-backend run in container and serve two ports in HTTP
and TCP modes.
**🌱 all: implement forwarder for Postgresql**
The Postgresql forwarder accept single option "URL",
[forwarder "postgresql"]
url = postgres://<user>:<pass>@<host>/<database>?sslmode=<>
The user and database must already created first, manually.
**🌼 Do not log ServerName with invalid connection '<NOSRV>'**
**🌼 _AUR: fix installation of binary in package function**
**Add linter gocheck**
Program gocheck implement go static analysis using [Analyzer] that are not
included in the default go vet.
See package [lib/goanalysis] for more information.
[Analyzer]: https://pkg.go.dev/golang.org/x/tools/go/analysis#hdr-Analyzer +
[lib/goanalysis]: https://pkg.go.dev/git.sr.ht/~shulhan/pakakeh.go/lib/goanalysis/
Diffstat (limited to 'haminer.go')
| -rw-r--r-- | haminer.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,6 +20,9 @@ const ( envHostname = `HOSTNAME` ) +// Version of this module and program. +var Version = `0.3.0` + var ( _hostname string ) |
