apinighthawk

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package apinighthawk defines nighthawk runner and config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NighthawkRun

func NighthawkRun(config *NighthawkConfig) ([]byte, error)

NighthawkRun function runs the nighthawk loadtest

Types

type NighthawkConfig

type NighthawkConfig struct {
	Thread            int
	DurationInSeconds float64
	QPS               float64
	URL               string
}

NighthawkConfig describes the configuration structure for loadtest

Jump to

Keyboard shortcuts

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