probefactory

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(opts ...BuildOption) probe.Probe

Types

type BuildOption

type BuildOption func(*BuildParams)

func WithRandomServerAddress

func WithRandomServerAddress() BuildOption

func WithServerAddress

func WithServerAddress(ip string, port int) BuildOption

type BuildParams

type BuildParams struct {
	IP         string
	Port       int
	ProbePort  int
	Goal       probe.Goal
	MaxRetries int
}

Jump to

Keyboard shortcuts

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