attack

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAttackEndpoint

func StartAttackEndpoint(pid int32, configJson string) int

func StopAttackEndpoint

func StopAttackEndpoint(pid int32)

Types

type Status

type Status struct {
	Started    bool
	Stopped    bool
	Failure    string
	ConfigJson string
	Pid        int32
	Listener   *net.Listener
	Port       int
}

func GetAttackStatus

func GetAttackStatus(pid int32) Status

Jump to

Keyboard shortcuts

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