golgi/README.md

19 lines
694 B
Markdown
Raw Normal View History

2021-12-02 13:12:52 +00:00
# golgi
2021-12-02 13:16:19 +00:00
_The Golgi complex (aka. Golgi apparatus or Golgi body) packages proteins into membrane-bound vesicles inside the cell before the vesicles are sent to their destination._
2021-12-02 13:12:52 +00:00
2021-12-02 13:16:19 +00:00
-----
Golgi is an experimental Scuttlebutt client which uses the [kuska-ssb](https://github.com/Kuska-ssb) libraries and aims to provide a high-level API for interacting with an sbot instance. Development efforts are currently oriented towards [go-sbot](https://github.com/cryptoscope/ssb) interoperability.
2021-12-02 13:12:52 +00:00
## Example Usage
```rust
pub async fn run() -> Result<(), GolgiError> {
let mut sbot_client = Sbot::init(None, None).await?;
let id = sbot_client.whoami().await?;
println!("{}", id);
}
```