dlcns 0.1.0-alpha

A library for interacting with the DarkLight Centralized Name Server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use dlcns::get::CNSGet;

fn main() {
    let mut cnsget = CNSGet::new();

    let id = cnsget.get_owner_name(String::from("test"));

    if id.is_some() {
        println!("{:?}", id.unwrap());
    } else {
        println!("no");
    }
}