Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunSmokeTestOptions ¶
type RunSmokeTestOptions struct { FromEndpoint string ToEndpoint string ToEndpointToken string Timeout time.Duration MaxSessionIDLength int UserAgent string }
RunSmokeTestOptions are options to runs smoke test
type SmokeTestRequest ¶
type SmokeTestResults ¶
type SmokeTestResults struct { FromEndpoint string `json:"from_endpoint"` ToEndpoint string `json:"to_endpoint"` LatencyMilliSec float64 `json:"latency"` Status Status `json:"status"` }
func RunSmokeTest ¶
func RunSmokeTest(ctx context.Context, opts RunSmokeTestOptions) (SmokeTestResults, error)
RunsmokeTest runs smoke test and returns smoke test results to caller
Click to show internal directories.
Click to hide internal directories.