Migrate to checker-sdk-go v1.3.0 with standalone build tag
The SDK split the HTTP server scaffolding into the new checker-sdk-go/checker/server subpackage. Update main.go to import server and call server.New, and isolate the interactive form code behind the standalone build tag so plugin/builtin builds skip net/http entirely.
This commit is contained in:
parent
a74c8d83aa
commit
b1ebac2198
10 changed files with 23 additions and 24 deletions
|
|
@ -19,8 +19,8 @@ make
|
|||
|
||||
The server exposes:
|
||||
|
||||
- `GET /health` — health check
|
||||
- `POST /collect` — collect ping observations (happyDomain external checker protocol)
|
||||
- `GET /health`, health check
|
||||
- `POST /collect`, collect ping observations (happyDomain external checker protocol)
|
||||
|
||||
### Docker
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue