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 ( const (
defaultCFBaseURL = "https://api.cloudflare.com" defaultCFBaseURL = "https://api.cloudflare.com"
defaultCFRate = 250 * time.Millisecond defaultCFRate = 250 * time.Millisecond
defaultCFBurst = 5 defaultCFBurst = 5
defaultCFBudget = 5 defaultCFBudget = 5
defaultCFBreaker = 60 * time.Second defaultCFBreaker = 60 * time.Second
pathRadarOutages = "/client/v4/radar/annotations/outages" pathRadarOutages = "/client/v4/radar/annotations/outages"
pathRadarHijacks = "/client/v4/radar/bgp/hijacks/events" pathRadarHijacks = "/client/v4/radar/bgp/hijacks/events"
defaultDateRange = "1d" defaultDateRange = "1d"
) )
type ClientConfig struct { type ClientConfig struct {

View File

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

View File

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

View File

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