perf

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 16 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         *adminclient.ModelFunction
	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) (contube.TubeFactory, error)

Jump to

Keyboard shortcuts

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