Versions in this module Expand all Collapse all v0 v0.2.9 Feb 13, 2024 Changes in this version + func MaxDuration(d1 time.Duration, d2 time.Duration) time.Duration + func MinDuration(d1 time.Duration, d2 time.Duration) time.Duration + type Factory struct + func (*Factory) Metadata() *trigger.Metadata + func (*Factory) New(config *trigger.Config) (trigger.Trigger, error) + type LoadSession struct + func NewLoadSession(duration int, statsAggregator chan *RequesterStats) *LoadSession + func (lt *LoadSession) Run(handler trigger.Handler, data interface{}) + func (lt *LoadSession) Stop() + type LoadTest struct + func NewLoadTest(duration, concurrencyLevel int) *LoadTest + func (lt *LoadTest) Run(handler trigger.Handler, data interface{}) error + type Output struct + Data interface{} + func (o *Output) FromMap(values map[string]interface{}) error + func (o *Output) ToMap() map[string]interface{} + type RequesterStats struct + MaxRequestTime time.Duration + MinRequestTime time.Duration + NumErrs int + NumRequests int + TotDuration time.Duration + type Settings struct + Concurrency int + Data interface{} + Duration int + Handler string + StartDelay int + type Trigger struct + func (t *Trigger) Initialize(ctx trigger.InitContext) error + func (t *Trigger) Start() error + func (t *Trigger) Stop() error Other modules containing this package github.com/AiRISTAFlowInc/fs-contrib