Documentation ¶ Index ¶ type Config type Provider func NewProvider(fs afero.Fs, conf Config) *Provider Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { File string `validate:"required"` // Limit limits total num of ammo. Unlimited if zero. Limit int `validate:"min=0"` // Passes limits ammo file passes. Unlimited if zero. Passes int `validate:"min=0"` } type Provider ¶ type Provider struct { simple.Provider Config } func NewProvider ¶ func NewProvider(fs afero.Fs, conf Config) *Provider TODO: pass logger and metricsRegistry Source Files ¶ View all Source files data.go data_ffjson.go provider.go Click to show internal directories. Click to hide internal directories.