All Projects → faabiosr → kongo

faabiosr / kongo

Licence: MIT license
Kong Api Library for Golang

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Kongo

Build Status Coverage Status GoDoc Go Report Card License

Kong api library for Golang

Installation

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

Usage

package main

import (
    "github.com/fabiorphp/kongo"
)

func main() {
    kongo := kongo.New(nil, "127.0.0.1:8001")
    status, _, _ := kongo.Node.Status()
    ...
}

Documentation

Read the full documentation at https://godoc.org/github.com/fabiorphp/kongo.

Development

Requirements

Makefile

// 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

License

This project is released under the MIT licence. See LICENSE for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].