Documentation ¶ Index ¶ type Tester func NewTester(_ context.Context, serverAddr string, useTLS bool) (*Tester, error) func (t *Tester) Ping(ctx context.Context, hostname string, count int32, timeout time.Duration) (*api.PingResponse, error) func (t *Tester) PortProbe(ctx context.Context, hostname string, port int32, timeout time.Duration) (*api.PortProbeResponse, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Tester ¶ type Tester struct { // contains filtered or unexported fields } func NewTester ¶ func NewTester(_ context.Context, serverAddr string, useTLS bool) (*Tester, error) func (*Tester) Ping ¶ func (t *Tester) Ping(ctx context.Context, hostname string, count int32, timeout time.Duration) (*api.PingResponse, error) func (*Tester) PortProbe ¶ func (t *Tester) PortProbe(ctx context.Context, hostname string, port int32, timeout time.Duration) (*api.PortProbeResponse, error) Source Files ¶ View all Source files tester.go Click to show internal directories. Click to hide internal directories.