aboutsummaryrefslogtreecommitdiff
path: root/client_options.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-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.
2025-07-17lilin: simple service monitoringShulhan
lilin is a program to help monitor other services through HTTP, TCP, and UDP connection.