Documentation
¶
Index ¶
Constants ¶
View Source
const ( SamplingModeCount = "count" SamplingModeOnePerPrefix = "one_per_prefix" )
Variables ¶
This section is empty.
Functions ¶
func ApplyDefaults ¶
func ApplyDefaults(input *model.CreateScanJobRequest)
func Validate ¶
func Validate(input model.CreateScanJobRequest) error
Types ¶
type PrefixSyncer ¶
type PrefixSyncer interface {
Sync(context.Context) (model.SourceStatus, error)
SyncEnabledASNs(context.Context) (model.ASNSyncSummary, error)
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(store Store, syncer PrefixSyncer) *Service
Click to show internal directories.
Click to hide internal directories.