Versions in this module Expand all Collapse all v1 v1.3.0 Jul 21, 2022 Changes in this version + var ErrMissingPort = errors.New("missing target port") + var ErrPluginInterface = errors.New("module symbol doesn't match GocannonPlugin") + var ErrPluginLookup = errors.New("could not lookup plugin interface") + var ErrPluginOpen = errors.New("could not open plugin") + var ErrUnsupportedProtocol = errors.New("unsupported target protocol") + var ErrWrongTarget = errors.New("wrong target URL") + type Gocannon struct + func NewGocannon(cfg common.Config) (Gocannon, error) + func (g Gocannon) Run() (TestResults, error) + type TestResults interface + GetLatencyAvg func() float64 + GetLatencyPercentiles func() []int64 + GetReqCount func() int64 + GetReqPerSec func() float64 + PrintReport func(format string)