dummy

package
v0.5.32 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gun

type Gun struct {
	DebugLog bool
	Conf     GunConfig
	Aggr     core.Aggregator
	core.GunDeps
}

func NewGun

func NewGun(conf GunConfig) *Gun

func (*Gun) Bind

func (g *Gun) Bind(aggr core.Aggregator, deps core.GunDeps) error

func (*Gun) Shoot

func (g *Gun) Shoot(_ core.Ammo)

func (*Gun) WarmUp

func (g *Gun) WarmUp(_ *warmup.Options) (any, error)

type GunConfig

type GunConfig struct {
	Sleep time.Duration `config:"sleep"`
}

func DefaultGunConfig

func DefaultGunConfig() GunConfig

Jump to

Keyboard shortcuts

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