Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeResponse ¶
func EncodeResponse(_ context.Context, w http.ResponseWriter, resp interface{}) error
EncodeResponse returns a json reply
func MakeHealthHandler ¶
func MakeHealthHandler(opts []kithttp.ServerOption) *kithttp.Server
MakeHealthHandler creates a new status handler
Types ¶
type HealthResponse ¶
type HealthResponse struct {
Status string `json:"status"`
}
HealthResponse describes a healthy status
Click to show internal directories.
Click to hide internal directories.