Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/epicstep/kittenclient-go
- Owner: EpicStep
- Created: 2020-11-19T10:15:53.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-29T15:53:04.000Z (about 4 years ago)
- Last Synced: 2024-06-21T06:16:39.588Z (6 months ago)
- Topics: kittenclient, kittenclient-go, kittenhouse, kittenhouse-client, logging
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 mainimport "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