Discover Packages
github.com/kffl/gocannon
lib
package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Jul 21, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrPluginOpen = errors .New ("could not open plugin")
ErrPluginLookup = errors .New ("could not lookup plugin interface")
ErrPluginInterface = errors .New ("module symbol doesn't match GocannonPlugin")
)
Gocannon represents a single gocannon instance with a config defined upon its creation.
NewGocannon creates a new gocannon instance using a provided config.
Run performs the load test.
type TestResults interface {
GetReqCount() int64
GetReqPerSec() float64
GetLatencyAvg() float64
GetLatencyPercentiles() []int64
PrintReport(format string )
}
TestResults allows for accessing the load test results.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.