17 lines
212 B
Go
17 lines
212 B
Go
package health
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"go.uber.org/fx"
|
|
)
|
|
|
|
var Module = fx.Options(
|
|
fx.Provide(New),
|
|
)
|
|
|
|
// Handler health handler interface
|
|
type Handler interface {
|
|
Health(http.ResponseWriter, *http.Request)
|
|
}
|