Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JwtCustomClaimsJSONStringToMap ¶ added in v0.4.1
Converts jwtCustomClaimsJSON from string to map[string]interface{}
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
JwtCustomClaimsJSON string
JwtIss string
JwtAud string
JwtHeader string
JwtsFilename string
SendJWT bool
Headers []string
Body string
BodyFile string
Client string
Parallel bool
}
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, jwtCustomClaimsJSON, jwtIss, jwtAud, jwtHeader, jwtsFilename string, headers []string, body, bodyFile string, client string, parallel bool) *Config
Click to show internal directories.
Click to hide internal directories.