Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/epicstep/kittenclient-go

Client for kittenhouse written in go
https://github.com/epicstep/kittenclient-go

kittenclient kittenclient-go kittenhouse kittenhouse-client logging

Last synced: about 1 month ago
JSON representation

Client for kittenhouse written in go

Awesome Lists containing this project

README

        

## Kittenclient-go

[![Build Status](https://travis-ci.com/EpicStep/kittenclient-go.svg?branch=master)](https://travis-ci.com/github/EpicStep/kittenclient-go)
[![Go Report Card](https://goreportcard.com/badge/github.com/EpicStep/kittenclient-go)](https://goreportcard.com/report/github.com/EpicStep/kittenclient-go)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/EpicStep/kittenclient-go)](https://pkg.go.dev/github.com/EpicStep/kittenclient-go)

Kittenclient is a client to [kittenhouse](https://github.com/VKCOM/kittenhouse) written in go. He makes requests to kittenhouse easier.

## Example Usage
```go
package main

import "github.com/EpicStep/kittenclient-go"

func main() {
config := kittenclient.ClientConfig{
Addr: "localhost:13338",
UDP: false,
}

klogger := kittenclient.NewLogger(&config)

err := klogger.Log("internal_logs_buffer(time,server,port)", "('2020-11-20 14:40:00','%s', 8080)", "myfavoriteserver")
if err != nil {
panic(err)
}
}
```

## Features
Client support:
* HTTP transport
* UDP transport

## TODO
* RowBinary support