enginex

package
v0.3.0-rc.2.0...-51e5094 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package enginex contains ooni/probe-engine extensions.

Index

Constants

This section is empty.

Variables

View Source
var Logger = log.WithFields(log.Fields{
	"type": "engine",
})

Logger is the logger used by the engine.

Functions

This section is empty.

Types

type LocationProvider

type LocationProvider interface {
	ProbeASN() uint
	ProbeASNString() string
	ProbeCC() string
	ProbeIP() string
	ProbeNetworkName() string
	ResolverIP() string
}

LocationProvider is an interface that returns the current location. The github.com/bassosimone/probe-cli/engine/session.Session implements it.

Jump to

Keyboard shortcuts

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