aboutsummaryrefslogtreecommitdiff
path: root/server.go
AgeCommit message (Collapse)Author
2025-08-20all: rename suffix Options with ConfigShulhan
Options means optional, while the field in struct may contains mandatory or must not be empty.
2025-08-20all: store the service logs into fileShulhan
2025-08-07_www: improve the layout a little bitShulhan
Add a background color for section "Service status" and "Down history" to highlight it with other text. Add background color for service that is down in "Service status".
2025-08-06all: add "-dev" option for running lilinShulhan
The "-dev" flag enable running in development mode, where each refresh will re-read, parse, and execute the template.
2025-08-01all: record and display the history of failed scanShulhan
In the main Reports struct, we record the failed ScanReport in separate slices. Those slices then displayed on the main page under "Fail history" section.
2025-07-31all: implement worker start and stopShulhan
The start method run all the services scanner in the background and consume the report from it from channel. Each time new report coming it will notify the Server to update the index page body.
2025-07-31all: refactoring web page to render using templateShulhan
Instead of using HTML and JavaScript, generate the web page using template. This minimize number of works we do in the future (creating client in JavaScript and HTTP APIs).
2025-07-23wip: implement loading per service configurationShulhan
The service configuration is stored under "$BASE_DIR/etc/lilin/service.d". with ".cfg" as the file extension. The service configuration use INI format.
2025-07-17lilin: simple service monitoringShulhan
lilin is a program to help monitor other services through HTTP, TCP, and UDP connection.