Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PulseHandler ¶
PulseHandler is a function that closes over our DB instance returning an http.Handler that attempts to connect to the DB, returning either 200 OKk with an ok response if successful, or an error message with a 500 status if the DB connection failed.
Types ¶
type Config ¶ added in v0.0.9
Config is a struct used to pass in configuration from the calling task
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is our top level type, contains all other components, is responsible for starting and stopping them in the correct order.
Click to show internal directories.
Click to hide internal directories.