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) BeforeEach ¶
BeforeEach is called before every test.
func (*Tester) RequestExecutor ¶
func (t *Tester) RequestExecutor(_ interface{}) (bender.RequestExecutor, error)
RequestExecutor returns a request executor.
Click to show internal directories.
Click to hide internal directories.