Documentation ¶
Index ¶
- Constants
- type HealthCheckApiFactory
- type HealthCheckApiHandler
- func (self *HealthCheckApiHandler) Binding() string
- func (self *HealthCheckApiHandler) IsHandler(r *http.Request) bool
- func (self *HealthCheckApiHandler) Options() map[interface{}]interface{}
- func (self *HealthCheckApiHandler) RootPath() string
- func (self *HealthCheckApiHandler) ServeHTTP(w http.ResponseWriter, request *http.Request)
Constants ¶
View Source
const (
Binding = "health-checks"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckApiFactory ¶
type HealthCheckApiFactory struct {
// contains filtered or unexported fields
}
func NewHealthCheckApiFactory ¶
func NewHealthCheckApiFactory(healthChecker gosundheit.Health) *HealthCheckApiFactory
func (HealthCheckApiFactory) Binding ¶
func (factory HealthCheckApiFactory) Binding() string
func (HealthCheckApiFactory) New ¶
func (factory HealthCheckApiFactory) New(_ *xweb.ServerConfig, options map[interface{}]interface{}) (xweb.ApiHandler, error)
func (HealthCheckApiFactory) Validate ¶
func (factory HealthCheckApiFactory) Validate(*xweb.InstanceConfig) error
type HealthCheckApiHandler ¶
type HealthCheckApiHandler struct {
// contains filtered or unexported fields
}
func (*HealthCheckApiHandler) Binding ¶
func (self *HealthCheckApiHandler) Binding() string
func (*HealthCheckApiHandler) IsHandler ¶
func (self *HealthCheckApiHandler) IsHandler(r *http.Request) bool
func (*HealthCheckApiHandler) Options ¶
func (self *HealthCheckApiHandler) Options() map[interface{}]interface{}
func (*HealthCheckApiHandler) RootPath ¶
func (self *HealthCheckApiHandler) RootPath() string
func (*HealthCheckApiHandler) ServeHTTP ¶
func (self *HealthCheckApiHandler) ServeHTTP(w http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.