enginex

package
v3.14.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: GPL-3.0 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/ooni/probe-cli/v3/internal/engine/session.Session implements it.

Jump to

Keyboard shortcuts

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