Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthHandler ¶
type HealthHandler struct {
// contains filtered or unexported fields
}
func NewHealthHandler ¶
func NewHealthHandler() *HealthHandler
func (*HealthHandler) Hook ¶ added in v0.8.0
func (h *HealthHandler) Hook(model *config.Model, modelSrv *service.Service)
implements Hook
func (*HealthHandler) RegisterHealthPoint ¶
func (h *HealthHandler) RegisterHealthPoint(name string, isOkPtr *int32)
func (*HealthHandler) ServeHTTP ¶
func (h *HealthHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
implements http.Handler
type StatsHandler ¶ added in v0.8.0
type StatsHandler struct { }
Deprecated. Used for maintaining non-model specific statistics
func NewStatsHandler ¶ added in v0.8.0
func NewStatsHandler() *StatsHandler
func (*StatsHandler) ServeHTTP ¶ added in v0.8.0
func (h *StatsHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
implements http.Handler
Click to show internal directories.
Click to hide internal directories.