dev

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "dev"

Variables

This section is empty.

Functions

func GenLines added in v1.5.0

func GenLines(stop chan struct{}, totalCount int64, lineBytes int, qps int, outFunc func(content []byte, index int64))

Types

type Config

type Config struct {
	Qps         int   `yaml:"qps,omitempty" default:"1000"`
	ByteSize    int   `yaml:"byteSize,omitempty" default:"1024"`
	EventsTotal int64 `yaml:"eventsTotal,omitempty" default:"-1"`
}

type Dev

type Dev struct {
	// contains filtered or unexported fields
}

func (*Dev) Category

func (d *Dev) Category() api.Category

func (*Dev) Commit

func (d *Dev) Commit(events []api.Event)

func (*Dev) Config

func (d *Dev) Config() interface{}

func (*Dev) Init

func (d *Dev) Init(context api.Context) error

func (*Dev) ProductLoop

func (d *Dev) ProductLoop(productFunc api.ProductFunc)

func (*Dev) Start

func (d *Dev) Start() error

func (*Dev) Stop

func (d *Dev) Stop()

func (*Dev) String

func (d *Dev) String() string

func (*Dev) Type

func (d *Dev) Type() api.Type

Jump to

Keyboard shortcuts

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