Kong api library for Golang
Kongo requires Go 1.9 or later.
go get github.com/fabiorphp/kongo
If you want to get an specific version, please use the example below:
go get gopkg.in/fabiorphp/kongo.v0
package main
import (
"github.com/fabiorphp/kongo"
)
func main() {
kongo := kongo.New(nil, "127.0.0.1:8001")
status, _, _ := kongo.Node.Status()
...
}
Read the full documentation at https://godoc.org/github.com/fabiorphp/kongo.
// Clean up
$ make clean
// Creates folders and download dependencies
$ make configure
//Run tests and generates html coverage file
make cover
// Download project dependencies
make depend
// Format all go files
make fmt
//Run linters
make lint
// Run tests
make test
This project is released under the MIT licence. See LICENSE for more details.