Skip to content

jakon89/go-scribe-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO! Scribe client

It's pretty simple GO client for Scribe useful for testing :)

Installation:

go get github.com/jakon89/go-scribe-client

go install github.com/jakon89/go-scribe-client

Usage:

$GOPATH/bin/go-scribe-client --help

After startup, you can add messages in format "category::message" to batch:

my_category::{"message":"my first message"} <ENTER>

Available commands:

  • SEND - will send all messages in batch
  • CLEAR - will clear local messages
  • EXIT - will exit

Example:

jakon89$ $GOPATH/bin/go-scribe-client -addr localhost:9090  
Connected to localhost:9090  
new_file_event::{"message":"new file created!"}  
LogEntry({Category:new_file_event Message:{"message":"new file created!"}}) added to batch  
SEND  
1 messages sent  
EXIT  
jakon89$  

About

Scribe client in GO!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages