nali 0.1.2

A command-line tool that enriches IP addresses with GeoIP information, enhancing network diagnostics with geographical context.
Documentation
1
2
3
4
5
6
use crate::{geo::geodb::GeoDB, NaliText};

pub trait Parser<G: GeoDB> {
    fn parse(&self, input: &str, db: &G) -> NaliText;
    fn name(&self) -> &str;
}