Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DBClient dbclient.IBoltClient
DBClient instance for accessing the underlying BoltDB, be it the real one or a mock.
View Source
var MessagingClient messaging.IMessagingClient
MessagingClient instance
Functions ¶
func GetAccount ¶
func GetAccount(w http.ResponseWriter, r *http.Request)
GetAccount loads an account instance, including a quote and an image URL using sub-services.
func HealthCheck ¶
func HealthCheck(w http.ResponseWriter, r *http.Request)
HealthCheck will return OK if the underlying BoltDB is healthy. At least healthy enough for demoing purposes.
func SetHealthyState ¶
func SetHealthyState(w http.ResponseWriter, r *http.Request)
SetHealthyState can be used fake health problems.
Types ¶
Click to show internal directories.
Click to hide internal directories.