options

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDslSlice added in v0.0.4

func NewDslSlice(input ...string) []queries

Types

type Icon added in v0.0.5

type Icon struct {
	Md5  string
	Mmh3 string
}

type Keyword added in v0.0.4

type Keyword struct {
	IP     []string
	Domain []string
	Icons  []Icon
	DSL    []queries
}

type Options

type Options struct {
	Agents  []string
	Query   interface{}
	Timeout int // default 30s
	// 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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL