Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultChannelBuffSize = 32
Functions ¶
func AllAgents ¶ added in v1.4.2
func AllAgents() []string
AllAgents returns all supported uncover Agents
func AnonymousAgents ¶ added in v1.4.2
func AnonymousAgents() []string
func UncoverAgents ¶ added in v1.4.2
func UncoverAgents() []string
Types ¶
type Options ¶ added in v1.4.2
type Options struct {
Agents []string // Uncover Agents to use
Queries []string // Queries to pass to Agents
Limit int
MaxRetry int
Timeout int
// Note these ratelimits are used as fallback in case agent
// ratelimit is not available in DefaultRateLimits
RateLimit uint // default 30 req
RateLimitUnit time.Duration // default unit
Proxy string
ProxyAuth string
}
type Service ¶ added in v1.4.2
type Service struct {
Options *Options
Agents []sources.Agent
Session *sources.Session
Provider *sources.Provider
Keys sources.Keys
}
Service handler of all uncover Agents
Click to show internal directories.
Click to hide internal directories.