provider

package
v0.5.23 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	base.ProviderBase
	config.Config
	decoders.Decoder

	Close func() error

	Sink chan decoders.DecodedAmmo
	// contains filtered or unexported fields
}

func (*Provider) Acquire

func (p *Provider) Acquire() (core.Ammo, bool)

func (*Provider) Release

func (p *Provider) Release(a core.Ammo)

func (*Provider) Run

func (p *Provider) Run(ctx context.Context, deps core.ProviderDeps) (err error)

Jump to

Keyboard shortcuts

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