Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Ctx context.Context
ReqURI string
DisableKeepAlive bool
ReqTarget int64
Conns uint
Duration time.Duration
MTLSKey string
MTLSCert string
SkipVerify bool
ReadTimeout time.Duration
WriteTimeout time.Duration
Method string
Verbose bool
VerboseTicker time.Duration
JwtKID string
JwtKey string
JwtSub string
JwtIss string
JwtAud string
JwtHeader string
SendJWT bool
Headers []string
Body string
BodyFile string
Client string
}
func NewConfig ¶
func NewConfig(ctx context.Context, reqURI, mTLScert, mTLSKey string, disableKeepAlive bool, reqs int64, conns uint, totalTime time.Duration, skipVerify bool, readTimeout, writeTimeout time.Duration, method string, verbose bool, ticker time.Duration, jwtKID, jwtKey, jwtSub, jwtIss, jwtAud, jwtHeader string, headers []string, body, bodyFile string, client string) *Config
Click to show internal directories.
Click to hide internal directories.