runner

package
v0.0.0-...-6290690 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Client) Publish

func (c *Client) Publish()

func (*Client) Subscribe

func (c *Client) Subscribe()

type Profiler

type Profiler struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Profiler) Add

func (p *Profiler) Add(d time.Duration)

func (*Profiler) Profile

func (p *Profiler) Profile(f func())

func (*Profiler) Start

func (p *Profiler) Start()

func (*Profiler) Stop

func (p *Profiler) Stop()

type Runner

type Runner struct {
	Url              string
	NumClients       int
	NumSubjects      int
	NumMessages      int
	ShutdownDuration time.Duration
	Rate             int

	sync.WaitGroup
	// contains filtered or unexported fields
}

func (*Runner) Run

func (r *Runner) Run()

Jump to

Keyboard shortcuts

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