Skip to content

PinchasLev/go-common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

go-common

Features

  • KV-Wrapper wraps the go-etcd client so it can implement the KVWrapper interface
  • KVWrapper is an interface that any Key Value Store (etcd, consul) needs to implement when used by flight director.
  • Log is a wrapper for go-logrus forked from logrus It servers 2 main purposes:
    • It eliminates the need for awkward .WithFields calls by intelligently creating fields based on the number and positions of parameters to the Warn, Error, Fatal and Info calls.
    • It adds stack info to ever call for easier debugging
  • HTTPClient with retries and exponential backoff

About

common go things.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%