chore(monitor): gofmt const-block alignment in phase-2 collectors

This commit is contained in:
CarterPerez-dev 2026-05-02 03:39:51 -04:00
parent 0027de6c72
commit d352a6bce6
4 changed files with 13 additions and 14 deletions

View File

@ -16,14 +16,14 @@ import (
)
const (
defaultCFBaseURL = "https://api.cloudflare.com"
defaultCFRate = 250 * time.Millisecond
defaultCFBurst = 5
defaultCFBudget = 5
defaultCFBreaker = 60 * time.Second
pathRadarOutages = "/client/v4/radar/annotations/outages"
pathRadarHijacks = "/client/v4/radar/bgp/hijacks/events"
defaultDateRange = "1d"
defaultCFBaseURL = "https://api.cloudflare.com"
defaultCFRate = 250 * time.Millisecond
defaultCFBurst = 5
defaultCFBudget = 5
defaultCFBreaker = 60 * time.Second
pathRadarOutages = "/client/v4/radar/annotations/outages"
pathRadarHijacks = "/client/v4/radar/bgp/hijacks/events"
defaultDateRange = "1d"
)
type ClientConfig struct {

View File

@ -13,9 +13,9 @@ import (
)
const (
Name = "cve"
defaultCVEInterval = 2 * time.Hour
defaultCVEWindow = 2 * time.Hour
Name = "cve"
defaultCVEInterval = 2 * time.Hour
defaultCVEWindow = 2 * time.Hour
)
type NVDFetcher interface {

View File

@ -13,8 +13,8 @@ import (
)
const (
Name = "ransomware"
defaultRansomCadence = 15 * time.Minute
Name = "ransomware"
defaultRansomCadence = 15 * time.Minute
)
type Fetcher interface {

View File

@ -17,7 +17,6 @@ import (
"github.com/carterperez-dev/monitor-the-situation/backend/internal/httpx"
)
const (
defaultGNBaseURL = "https://api.greynoise.io"
pathCommunityLookup = "/v3/community/"