Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
type Checker ¶
type Checker interface {
Run(context.Context, chan<- *CheckResult)
}
func NewCommandChecker ¶
func NewNetworkChecker ¶
type CommandChecker ¶
type CommandChecker struct { Exec []string // contains filtered or unexported fields }
func (*CommandChecker) Run ¶
func (cc *CommandChecker) Run(ctx context.Context, results chan<- *CheckResult)
func (*CommandChecker) StrCommand ¶
func (cc *CommandChecker) StrCommand() string
type HTTPNetworkChecker ¶
type HTTPNetworkChecker struct {
NetworkChecker
}
func (*HTTPNetworkChecker) Run ¶
func (hnc *HTTPNetworkChecker) Run(ctx context.Context, results chan<- *CheckResult)
type NetworkChecker ¶
type TCPNetworkChecker ¶
type TCPNetworkChecker struct {
NetworkChecker
}
func (*TCPNetworkChecker) Run ¶
func (tnc *TCPNetworkChecker) Run(ctx context.Context, results chan<- *CheckResult)
Click to show internal directories.
Click to hide internal directories.