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.
Click to show internal directories.
Click to hide internal directories.