detection

package
v0.0.0-...-ae3587a Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	S3BucketName      string
	S3Region          string
	S3Endpoint        string
	S3AccessKeyID     string
	S3SecretAccessKey string
	S3UseSSL          bool
}

Config holds all s3 related configs

type Detector

type Detector struct {
	*worker.Worker

	*http_header_generator.HTTPHeaderGenerator
	// contains filtered or unexported fields
}

Detector represents the detector containing all clients it uses

func New

func New(nameQReader *kafka.Reader, infoQWriter *kafka.Writer, config Config) *Detector

New returns an initilized scraper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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