Versions in this module Expand all Collapse all v0 v0.2.0 Jul 28, 2017 Changes in this version + type DNSChecker struct + Attempts int + Host string + Name string + ThresholdRTT time.Duration + Timeout time.Duration + URL string + func (c DNSChecker) Check() (Result, error) + type FS struct + CheckExpiry time.Duration + Dir string + URL string + func (fs FS) Maintain() error + func (fs FS) Store(results []Result) error type HTTPChecker + AttemptSpacing time.Duration + Headers http.Header + type TCPChecker struct + Attempts int + Name string + TLSCAFile string + TLSEnabled bool + TLSSkipVerify bool + ThresholdRTT time.Duration + Timeout time.Duration + URL string + func (c TCPChecker) Check() (Result, error) + type TLSChecker struct + Attempts int + CertExpiryThreshold time.Duration + Name string + ThresholdRTT time.Duration + Timeout time.Duration + TrustedRoots []string + URL string + func (c TLSChecker) Check() (Result, error) v0.1.0 Aug 3, 2016 Changes in this version + const FilenameFormatString + var DefaultConcurrentChecks = 5 + var DefaultHTTPClient = &http.Client + func GenerateFilename() *string + func Timestamp() int64 + type Attempt struct + Error string + RTT time.Duration + type Attempts []Attempt + func (a Attempts) Len() int + func (a Attempts) Less(i, j int) bool + func (a Attempts) Swap(i, j int) + type Checker interface + Check func() (Result, error) + type Checkup struct + Checkers []Checker + ConcurrentChecks int + Notifier Notifier + Storage Storage + Timestamp time.Time + func (c *Checkup) UnmarshalJSON(b []byte) error + func (c Checkup) Check() ([]Result, error) + func (c Checkup) CheckAndStore() error + func (c Checkup) CheckAndStoreEvery(interval time.Duration) *time.Ticker + func (c Checkup) MarshalJSON() ([]byte, error) + type Errors []error + func (e Errors) Empty() bool + func (e Errors) Error() string + type HTTPChecker struct + Attempts int + Client *http.Client + MustContain string + MustNotContain string + Name string + ThresholdRTT time.Duration + URL string + UpStatus int + func (c HTTPChecker) Check() (Result, error) + type Maintainer interface + Maintain func() error + type Notifier interface + Notify func([]Result) error + type ProvisionInfo struct + PublicAccessKey string + PublicAccessKeyID string + UserID string + Username string + func (i ProvisionInfo) String() string + type Provisioner interface + Provision func() (ProvisionInfo, error) + type Result struct + Degraded bool + Down bool + Endpoint string + Healthy bool + Message string + Notice string + ThresholdRTT time.Duration + Times Attempts + Timestamp int64 + Title string + func (r Result) ComputeStats() Stats + func (r Result) Status() StatusText + func (r Result) String() string + type S3 struct + AccessKeyID string + Bucket string + CheckExpiry time.Duration + Region string + SecretAccessKey string + func (s S3) Maintain() error + func (s S3) Provision() (ProvisionInfo, error) + func (s S3) Store(results []Result) error + type Stats struct + Max time.Duration + Mean time.Duration + Median time.Duration + Min time.Duration + Total time.Duration + type StatusText string + const Degraded + const Down + const Healthy + const Unknown + func (s StatusText) PriorityOver(other StatusText) bool + type Storage interface + Store func([]Result) error