endpoints

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	DisableHTTPS bool
}

Options is the endpoint resolver configuration options

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver MTurk endpoint resolver

func New

func New() *Resolver

New returns a new Resolver

func (*Resolver) ResolveEndpoint

func (r *Resolver) ResolveEndpoint(region string, options Options) (endpoint aws.Endpoint, err error)

ResolveEndpoint resolves the service endpoint for the given region and options

Jump to

Keyboard shortcuts

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