dhcpv4

package
v0.0.0-...-4b634d0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoAddress = errors.New("no ipv4 address found")

ErrNoAddress is raised when an interface has no ipv4 addresses assigned.

Functions

This section is empty.

Types

type Tester

type Tester struct {
	Target     string
	Timeout    time.Duration
	BufferSize int
	// contains filtered or unexported fields
}

Tester is a load tester for DHCPv4.

func (*Tester) After

func (t *Tester) After(_ interface{})

After is called after all tests are finished.

func (*Tester) AfterEach

func (t *Tester) AfterEach(_ interface{})

AfterEach is called after every test.

func (*Tester) Before

func (t *Tester) Before(options interface{}) error

Before is called before the first test.

func (*Tester) BeforeEach

func (t *Tester) BeforeEach(options interface{}) error

BeforeEach is called before every test.

func (*Tester) RequestExecutor

func (t *Tester) RequestExecutor(_ interface{}) (bender.RequestExecutor, error)

RequestExecutor returns a request executor.

Jump to

Keyboard shortcuts

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