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.
cnp-go requires Go 1.8 or later.
Install it with:
go get -u contnet.org/lib/cnp-go
The cnp-go source code is available on https://git.clsr.net/contnet/cnp-go