Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = wire.NewSet( New, )
Functions ¶
This section is empty.
Types ¶
type ExampleHandler ¶
type ExampleHandler struct {
// contains filtered or unexported fields
}
func (*ExampleHandler) HealthCheck ¶
func (eh *ExampleHandler) HealthCheck(w http.ResponseWriter, r *http.Request)
HealthCheck handle health check
func (*ExampleHandler) ServeHTTP ¶
func (eh *ExampleHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP serves a http request given a response builder and request
type Handlers ¶
type Handlers interface { HealthCheck(w http.ResponseWriter, r *http.Request) ServeHTTP(w http.ResponseWriter, r *http.Request) }
Click to show internal directories.
Click to hide internal directories.