SYMBOL INDEX (74 symbols across 8 files) FILE: aws.go type CheckType (line 10) | type CheckType constant CheckTypeTCP (line 14) | CheckTypeTCP CheckType = iota constant CheckTypeHTTP (line 16) | CheckTypeHTTP constant CheckTypeHTTPS (line 18) | CheckTypeHTTPS type AWSRegion (line 24) | type AWSRegion struct method CheckLatency (line 47) | func (r *AWSRegion) CheckLatency(wg *sync.WaitGroup) { method checkLatencyHTTP (line 58) | func (r *AWSRegion) checkLatencyHTTP(https bool) { method checkLatencyTCP (line 69) | func (r *AWSRegion) checkLatencyTCP() { method GetLatency (line 85) | func (r *AWSRegion) GetLatency() float64 { method GetLatencyStr (line 94) | func (r *AWSRegion) GetLatencyStr() string { function NewRegion (line 37) | func NewRegion(name, code string) AWSRegion { type AWSRegions (line 104) | type AWSRegions method Len (line 107) | func (rs AWSRegions) Len() int { method Less (line 112) | func (rs AWSRegions) Less(i, j int) bool { method Swap (line 117) | func (rs AWSRegions) Swap(i, j int) { method SetService (line 122) | func (rs AWSRegions) SetService(service string) { method SetCheckType (line 129) | func (rs AWSRegions) SetCheckType(checkType CheckType) { method SetDefaultTarget (line 136) | func (rs AWSRegions) SetDefaultTarget() { method SetTarget (line 148) | func (rs AWSRegions) SetTarget(fn func(r *AWSRegion)) { FILE: aws_test.go function TestAWSRegionError (line 15) | func TestAWSRegionError(t *testing.T) { type testTarget (line 27) | type testTarget struct method GetURL (line 32) | func (r *testTarget) GetURL() string { method GetIP (line 37) | func (r *testTarget) GetIP() (*net.TCPAddr, error) { function TestAWSRegionCheckLatencyHTTP (line 41) | func TestAWSRegionCheckLatencyHTTP(t *testing.T) { type testRequest (line 87) | type testRequest struct method Do (line 92) | func (d *testRequest) Do(_, _ string, _ RequestType) (time.Duration, e... function TestAWSRegionCheckLatencyTCP (line 99) | func TestAWSRegionCheckLatencyTCP(t *testing.T) { function TestAWSRegionsLen (line 150) | func TestAWSRegionsLen(t *testing.T) { function TestAWSRegionsLess (line 161) | func TestAWSRegionsLess(t *testing.T) { function TestAWSRegionsSwap (line 172) | func TestAWSRegionsSwap(t *testing.T) { function TestAWSRegionsSetService (line 185) | func TestAWSRegionsSetService(t *testing.T) { function TestAWSRegionsSetCheckType (line 196) | func TestAWSRegionsSetCheckType(t *testing.T) { function TestAWSRegionsSetDefaultTarget (line 207) | func TestAWSRegionsSetDefaultTarget(t *testing.T) { FILE: cmd/awsping/main.go function main (line 23) | func main() { FILE: request.go type RequestType (line 10) | type RequestType constant RequestTypeHTTP (line 14) | RequestTypeHTTP RequestType = iota constant RequestTypeTCP (line 16) | RequestTypeTCP type Requester (line 20) | type Requester interface type AWSHTTPRequester (line 25) | type AWSHTTPRequester interface type AWSTCPRequester (line 30) | type AWSTCPRequester interface type AWSRequest (line 35) | type AWSRequest struct method DoHTTP (line 49) | func (r *AWSRequest) DoHTTP(ua, url string) (time.Duration, error) { method DoTCP (line 69) | func (r *AWSRequest) DoTCP(_, addr string) (time.Duration, error) { method Do (line 82) | func (r *AWSRequest) Do(ua, url string, reqType RequestType) (time.Dur... function NewAWSRequest (line 41) | func NewAWSRequest() *AWSRequest { FILE: request_test.go type testTCPClient (line 10) | type testTCPClient struct method Dial (line 14) | func (c *testTCPClient) Dial(n, a string) (net.Conn, error) { type testHTTPClient (line 22) | type testHTTPClient struct method Do (line 26) | func (c *testHTTPClient) Do(r *http.Request) (*http.Response, error) { function TestRequestDoTCPError (line 33) | func TestRequestDoTCPError(t *testing.T) { function TestDoErr (line 53) | func TestDoErr(t *testing.T) { FILE: target.go type Targetter (line 9) | type Targetter interface type AWSTarget (line 15) | type AWSTarget struct method GetURL (line 23) | func (r *AWSTarget) GetURL() string { method GetIP (line 34) | func (r *AWSTarget) GetIP() (*net.TCPAddr, error) { FILE: utils.go constant ShowOnlyRegions (line 24) | ShowOnlyRegions = -1 function Duration2ms (line 30) | func Duration2ms(d time.Duration) float64 { function mkRandomString (line 35) | func mkRandomString(n int) string { type LatencyOutput (line 44) | type LatencyOutput struct method show (line 59) | func (lo *LatencyOutput) show(regions *AWSRegions) { method show0 (line 65) | func (lo *LatencyOutput) show0(regions *AWSRegions) { method show1 (line 71) | func (lo *LatencyOutput) show1(regions *AWSRegions) { method show2 (line 79) | func (lo *LatencyOutput) show2(regions *AWSRegions) { method Show (line 106) | func (lo *LatencyOutput) Show(regions *AWSRegions) { function NewOutput (line 51) | func NewOutput(level, repeats int) *LatencyOutput { function GetRegions (line 120) | func GetRegions() AWSRegions { function CalcLatency (line 154) | func CalcLatency(regions AWSRegions, repeats int, useHTTP bool, useHTTPS... FILE: utils_test.go function TestDuration (line 9) | func TestDuration(t *testing.T) { function TestRandomString (line 18) | func TestRandomString(t *testing.T) { function TestOutputShowOnlyRegions (line 37) | func TestOutputShowOnlyRegions(t *testing.T) { function TestOutputShow0 (line 55) | func TestOutputShow0(t *testing.T) { function TestOutputShow1 (line 75) | func TestOutputShow1(t *testing.T) { function TestOutputShow2 (line 96) | func TestOutputShow2(t *testing.T) { function TestCalcLatency (line 117) | func TestCalcLatency(t *testing.T) {