example

package
v0.0.0-...-e6555c8 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attacker

type Attacker struct {
	// contains filtered or unexported fields
}

Describes an example client implementation

func (Attacker) Start

func (a Attacker) Start()

func (Attacker) Stop

func (a Attacker) Stop()

type Defender

type Defender struct {
	// contains filtered or unexported fields
}

Describes an example client

func (Defender) Start

func (d Defender) Start()

func (Defender) Stop

func (d Defender) Stop()

type IAttacker

type IAttacker interface {
	// Starts the client
	Start()
	// Stops the client
	Stop()
}

Describes the interface of an example client

func NewAttacker

func NewAttacker(host string) IAttacker

Constructor for the client

type IDefender

type IDefender interface {
	// Starts the client
	Start()
	// Stops the client
	Stop()
}

Describes the interface of an example client

func NewDefender

func NewDefender(host string) IDefender

Constructor for the client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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