Skip to main content

Module rpc

Module rpc 

Source
Expand description

RPC APIs for geoip functionality.

Re-exportsยง

use std::collections::HashMap; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use tor_rpcbase as rpc; ๐Ÿ”’
use tor_rpcbase::derive_deftly::Deftly; ๐Ÿ”’
use crate::CountryCode; ๐Ÿ”’
use crate::GeoipDb; ๐Ÿ”’

Structsยง

GeoipLookupCountries ๐Ÿ”’
Look up the country codes for a list of IP addresses.
GeoipLookupResult ๐Ÿ”’
Result returned by the arti:geoip_lookup_countries method.

Functionsยง

geoip_lookup_on_geoipdb ๐Ÿ”’
Implementation for GeoipLookupCountries on GeoipDb.