cnp-go is an implementation of the CNP protocol in the Go programming language.
It provides parsing and composition of CNP requests and responses. It also provides a simple implementation of a CNP client and server over TCP. It supports all CNP 0.4 features and can validate request and response parameter value contents.
Installation¶
cnp-go requires Go 1.8 or later.
Install it with:
go install contnet.org/lib/cnp-go@latest
Usage¶
See documentation.
Source¶
The cnp-go source code is available on https://git.clsr.net/contnet/cnp-go