test

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL