Skip to content

Lexing/gowell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

gowell

Gowell provides basic utilities for go servers. Specifically, it provides following HTTP handler automatically:

  1. /flagz handler, which outputs all flags defined on the server and its value.
  2. /healthz handler, which outputs "ok" when the server is ready. (TODO: health channel)
  3. /metrics handler, which displays the variables/status reported in go server, with prometheus monitoring solution.

Example:

In your server, add (assuming port 8080)

InitializeHTTPService(":8080")

And when initialization is done, e.g. loading. Call

NoteHealthy()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages