Versions in this module Expand all Collapse all v0 v0.1.3 Nov 3, 2017 Changes in this version + type Ammo struct + Message string + type Gun struct + func NewGun() *Gun + func (l *Gun) Bind(aggregator core.Aggregator) + func (l *Gun) Shoot(ctx context.Context, a core.Ammo) + type Provider struct + func NewProvider(conf ProviderConfig) *Provider + func (p *Provider) Acquire() (ammo core.Ammo, ok bool) + func (p *Provider) Release(ammo core.Ammo) + func (p *Provider) Run(ctx context.Context) error + type ProviderConfig struct + AmmoLimit int + func NewDefaultProviderConfig() ProviderConfig