aboutsummaryrefslogtreecommitdiff
path: root/internal/internal.go
AgeCommit message (Collapse)Author
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-29all: refactoring Service to create with ServiceOptionsShulhan
Instead of defining the options in the Service, create it in the ServiceOptions and pass it to NewService function. In this way, we can check it, initialize it, and set default value. The Address option now use URL with scheme, so we can derive the service type based on the scheme, for example "http://" for HTTP based service, "tcp://xxx" for TCP based service, and so on.