useragent

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisView

type AnalysisView struct {
	UserAgent string `bson:"user_agent"`
	TimesUsed int64  `bson:"seen"`
}

AnalysisView (for reporting)

type Input

type Input struct {
	Seen     int64
	OrigIps  []string
	Requests []string
	JA3      bool
	// contains filtered or unexported fields
}

Input ....

type Repository

type Repository interface {
	CreateIndexes() error
	Upsert(useragentMap map[string]*Input)
}

Repository for uconn collection

func NewMongoRepository

func NewMongoRepository(res *resources.Resources) Repository

NewMongoRepository create new repository

Jump to

Keyboard shortcuts

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