Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { APIKey string `yaml:"api_key"` ClientTimeout int `yaml:"client_timeout"` SourceID string `yaml:"source_id"` }
Cfg stores the configuration parameters for NS1
type NS1 ¶
type NS1 struct { Cfg *Cfg // contains filtered or unexported fields }
NS1 stores the NSONE API client and some internal configuration to send the data to NSONE
func (NS1) GetFeedsForSourceID ¶
GetFeedsForSourceID returns a map with all the feed names as keys for future checks
Click to show internal directories.
Click to hide internal directories.