summaryrefslogtreecommitdiff
path: root/constants/constants.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2023-05-23 17:58:14 -0400
committerWill Hawkins <[email protected]>2023-06-21 09:12:22 -0400
commitec2ccf69d8b08abb03fa3bdb3e7e95ae1862d619 (patch)
tree6b636bdbda82db40da89a2bde213c684542850dc /constants/constants.go
parent5558f0347baaf6db066314f0eaf82d7fb552b2f7 (diff)
Major Update/Refactor to Support IETF 02
Beginning of a release candidate for support for IETF 02 tag of the responsiveness spec.
Diffstat (limited to 'constants/constants.go')
-rw-r--r--constants/constants.go14
1 files changed, 12 insertions, 2 deletions
diff --git a/constants/constants.go b/constants/constants.go
index 66f7110..7a8d562 100644
--- a/constants/constants.go
+++ b/constants/constants.go
@@ -35,8 +35,6 @@ var (
// The amount of time that the client will cooldown if it is in debug mode.
CooldownPeriod time.Duration = 4 * time.Second
- // The amount of time that we give ourselves to calculate the RPM.
- RPMCalculationTime int = 10
// The default amount of time that a test will take to calculate the RPM.
DefaultTestTime int = 20
@@ -49,3 +47,15 @@ var (
// The default determination of whether to verify server certificates
DefaultInsecureSkipVerify bool = true
)
+
+type SpecParametersCliOptions struct {
+ Mad int
+ Id int
+ Tmp uint
+ Sdt float64
+ Mnp int
+ Mps int
+ Ptc float64
+}
+
+var SpecParameterCliOptionsDefaults = SpecParametersCliOptions{Mad: 4, Id: 1, Tmp: 5, Sdt: 5.0, Mnp: 16, Mps: 100, Ptc: 0.05}