Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Repository files navigation

Kittenclient-go

Build Status Go Report Card PkgGoDev

Kittenclient is a client to kittenhouse written in go. He makes requests to kittenhouse easier.

Example Usage

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

About

Client for kittenhouse written in go

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages