awsregions

package module
v0.0.0-...-7003c3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LatencyChecker

type LatencyChecker struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewLatencyChecker

func NewLatencyChecker(regions ...string) LatencyChecker

func (*LatencyChecker) FastestRegion

func (lc *LatencyChecker) FastestRegion() string

func (*LatencyChecker) Latencies

func (lc *LatencyChecker) Latencies() map[string]time.Duration

func (*LatencyChecker) Measure

func (lc *LatencyChecker) Measure()

func (*LatencyChecker) SortedRegions

func (lc *LatencyChecker) SortedRegions() []string

func (*LatencyChecker) Start

func (lc *LatencyChecker) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL