archer

package
v0.0.0-...-3c654f8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

package archer provides the stress client for performance testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHTTPArcher

func StartHTTPArcher(cfg Config) error

Start HTTP archer by providing archer configurations

Types

type Config

type Config struct {
	// target url
	Target string
	// interval duration
	Interval string
	// connection number
	ConnNum int
	// data
	Data []byte
	// if print log periodically
	PrintLog bool
	// if print client errors
	PrintError bool
	// total number, 0 means non-stop
	Num uint64
	// signal channel for SIGHUP
	Sighup chan os.Signal
}

Config is the config settings for stress archer

Jump to

Keyboard shortcuts

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