api

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllerWrapper

func NewControllerWrapper(config *loadtest.Config, controllerConfig interface{}, userOffset int, namePrefix string, metrics *performance.Metrics) (loadtest.NewController, error)

NewControllerWrapper returns a constructor function used to create a new UserController.

func SetupAPIRouter

func SetupAPIRouter(coordLog, agentLog *mlog.Logger) *mux.Router

SetupAPIRouter creates a router to handle load test API requests. Custom loggers for coordinator and agent are given.

Types

This section is empty.

Directories

Path Synopsis
client

Jump to

Keyboard shortcuts

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