Skip to content

shonenada/nacos-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nacos-rs

A Rust clinet for operating Nacos.

This project is heavy under development.

Quick Guide

use nacos_core::NacosClient;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let client = NacosClient::new("http", "localhost", 8848);
    let namespace_client = client.namespace_client();
    let namespaces = namespace_client.list_namespaces().await?;
    for ns in namespaces.iter() {
        println!("{} {}", ns.namespace, ns.namespace_show_name);
    }
    Ok(())
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages