Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Example ¶
package main import ( "time" "github.com/gocrumb/health" "github.com/gocrumb/health/http" ) func main() { m := health.New( health.Checks( http.Head("http://example.com/", http.Period(1*time.Minute)), ), ) m.Start() }
Output:
type OptionFunc ¶
type OptionFunc func(*Monitor)
func (OptionFunc) Apply ¶
func (o OptionFunc) Apply(m *Monitor)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.