Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Decoder DecoderType File string // Limit limits total num of ammo. Unlimited if zero. Limit uint // Default HTTP headers Headers []string // Passes limits ammo file passes. Unlimited if zero. // Only for `jsonline` decoder. Passes uint Uris []string ContinueOnError bool // Maximum number of byte in jsonline ammo. Default is bufio.MaxScanTokenSize MaxAmmoSize int ChosenCases []string Middlewares []middleware.Middleware Preload bool }
type DecoderType ¶
type DecoderType string
const ( DecoderURI DecoderType = "uri" DecoderURIPost DecoderType = "uripost" DecoderRaw DecoderType = "raw" DecoderJSONLine DecoderType = "jsonline" )
func (DecoderType) IsValid ¶
func (d DecoderType) IsValid() bool
Click to show internal directories.
Click to hide internal directories.