- Introduced new `RadarConfig` structure in `config.go` to manage radar settings, including `statuses_url`, `http_timeout_ms`, and `ping_from`. - Implemented validation for radar configuration in `config_test.go` to ensure correct URL schemes and timeout limits. - Added new API routes for radar statuses and ping functionality in the gateway, enhancing the service's capabilities. - Updated documentation in `GATEWAY_RUN.md` to include details about the new radar features and their usage. - Enhanced the user interface to include navigation and display options for the Radar DC section in the sidebar and page titles. - Added client-side API functions for fetching radar statuses and ping responses, improving integration with the frontend.
25 lines
780 B
AMPL
25 lines
780 B
AMPL
module github.com/telemt/telemt-api
|
|
|
|
go 1.22
|
|
|
|
require (
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/oschwald/geoip2-golang v1.11.0
|
|
github.com/prometheus/client_golang v1.20.5
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/klauspost/compress v1.17.9 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/oschwald/maxminddb-golang v1.13.0 // indirect
|
|
github.com/prometheus/client_model v0.6.1 // indirect
|
|
github.com/prometheus/common v0.55.0 // indirect
|
|
github.com/prometheus/procfs v0.15.1 // indirect
|
|
golang.org/x/sys v0.22.0 // indirect
|
|
google.golang.org/protobuf v1.34.2 // indirect
|
|
)
|