mock

package
v1.5.14-0...-c50c370 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Session = session.Must(session.NewSession(&aws.Config{
	DisableSSL: aws.Bool(true),
	Endpoint:   aws.String(server.URL[7:]),
}))

Session is a mock session which is used to hit the mock server

Functions

func NewMockClient

func NewMockClient(cfgs ...*aws.Config) *client.Client

NewMockClient creates and initializes a client that will connect to the mock server

Types

This section is empty.

Jump to

Keyboard shortcuts

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