perf

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PulsarURL    string
	RequestRate  float64
	Func         *restclient.Function
	QueueBuilder TubeBuilder
}

type Perf

type Perf interface {
	Run(context.Context)
}

func New

func New(config *Config) Perf

type Person

type Person struct {
	Name     string `json:"name"`
	Money    int    `json:"money"`
	Expected int    `json:"expected"`
}

type TubeBuilder

type TubeBuilder func(ctx context.Context, config *common.Config) (contube.TubeFactory, error)

Jump to

Keyboard shortcuts

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