An open API service indexing awesome lists of open source software.

https://github.com/reiver/go-nodeinfo

Package nodeinfo implements the NodeInfo protocol ( https://github.com/jhass/nodeinfo ), for the Go programming language.
https://github.com/reiver/go-nodeinfo

fediverse nodeinfo nodeinfo1 nodeinfo2

Last synced: about 1 month ago
JSON representation

Package nodeinfo implements the NodeInfo protocol ( https://github.com/jhass/nodeinfo ), for the Go programming language.

Awesome Lists containing this project

README

        

# go-nodeinfo

Package **nodeinfo** implements the [NodeInfo protocol](https://github.com/jhass/nodeinfo), for the Go programming language.

## Documention

Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-nodeinfo

[![GoDoc](https://godoc.org/github.com/reiver/go-nodeinfo?status.svg)](https://godoc.org/github.com/reiver/go-nodeinfo)

## Import

There are separate sub-packages for each version of **nodeinfo**.
So, would you import whichever packages you are interested in using.

To import package **nodeinfo** for **nodeinfo 2.2** use `import` code like the following:

```
import "github.com/reiver/go-nodeinfo/2.2"
```

To import package **nodeinfo** for **nodeinfo 2.1** use `import` code like the following:

```
import "github.com/reiver/go-nodeinfo/2.1"
```

To import package **nodeinfo** for **nodeinfo 2.0** use `import` code like the following:

```
import "github.com/reiver/go-nodeinfo/2.0"
```

To import package **nodeinfo** for **nodeinfo 1.1** use `import` code like the following:

```
import "github.com/reiver/go-nodeinfo/1.1"
```

To import package **nodeinfo** for **nodeinfo 1.0** use `import` code like the following:

```
import "github.com/reiver/go-nodeinfo/1.0"
```

## Installation

To install package **nodeinfo** do the following:
```
GOPROXY=direct go get github.com/reiver/go-nodeinfo
```

## Author

Package **nodeinfo** was written by [Charles Iliya Krempeaux](http://reiver.link)