jsonline

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 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 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"`
	ContinueOnError bool
	//Maximum number of byte in an ammo. Default is bufio.MaxScanTokenSize
	MaxAmmoSize int
}

type Provider

type Provider struct {
	simple.Provider
	Config
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(fs afero.Fs, conf Config) *Provider

Jump to

Keyboard shortcuts

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