Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthProvider ¶
type HealthServer ¶
type HealthServer struct {
// contains filtered or unexported fields
}
func NewHealthServer ¶
func NewHealthServer() *HealthServer
func (*HealthServer) Register ¶
func (srv *HealthServer) Register(provider HealthProvider)
func (*HealthServer) ServeHTTP ¶
func (srv *HealthServer) ServeHTTP(resp http.ResponseWriter, req *http.Request)
func (*HealthServer) Shutdown ¶
func (srv *HealthServer) Shutdown(timeout time.Duration)
func (*HealthServer) Start ¶
func (srv *HealthServer) Start() error
type OTELErrorHandler ¶
func (OTELErrorHandler) Handle ¶
func (h OTELErrorHandler) Handle(err error)
Click to show internal directories.
Click to hide internal directories.