# Functions
NewAborter makes a new Aborter and initialize its StopChan.
NewFileAccessLogger creates an AccessLogger that writes to the provided file in the provided format.
NewFileAccessLoggerByType creates an AccessLogger that writes to the file in the AccessLoggerType enum format.
NewPeriodicRunner constructs a runner from input parameters/options.
# Constants
AccessInflux of influx format of access log.
AccessJSON for JSON format of access log: {"latency":%f,"timestamp":%d,"thread":%d}.
# Variables
DefaultRunnerOptions are the default values for options (do not mutate!).
# Structs
Aborter is the object controlling Abort() of the runs.
RunnerOptions are the parameters to the PeriodicRunner.
RunnerResults encapsulates the actual QPS observed and duration histogram.
# Interfaces
AccessLogger defines an interface to report a single request.
HasRunnerResult is the interface implicitly implemented by HTTPRunnerResults and GrpcRunnerResults, so the common results can be extracted irrespective of the type.
PeriodicRunner let's you exercise the Function at the given QPS and collect statistics and histogram about the run.
Runnable are the function to run periodically.
# Type aliases
AccessLoggerType is the possible formats of the access logger (ACCESS_JSON or ACCESS_INFLUX).