We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
09b7898
There was an error while loading. Please reload this page.
bug fix: check nil error
7578448
new graceful api that supports external shutdown functions
var a Action grace := env.NewGraceful().Init(a.Init00, a.Init01, a.Init02) defer grace.Shutdown() grace.Register(func() { log.Println("extra: non-grace shutdown func") }) grace.Wait()
762e7b2
this adjust the env.Lock internals
c109062
made GraceInit a grace struct method
grace := env.NewGraceful().Init(obj1,obj2) grace.Done() defer grace.Wait()
1bdf398
updated env.Lock to only support .Lock() and .Unlock() methods
var lock = env.Lock{Path: "/tmp", TTL: time.Hour} if lock.Lock() { return } defer lock.Unlock()
bdfd76f
af21260
add the /v2 ending
f0b072d
semantic versioning bump, nothing more
Major revision of graceful breaking the API and a few other minor changes.
3e3d112
Add Conf function for populating a json configuration file with default structure values that can then be overloaded by a file source.