config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAWSConfig

func GetAWSConfig() *aws.Config

GetAWSConfig returns aws configuration

func GetProfile

func GetProfile() string

GetProfile returns profile

func Reset

func Reset()

Reset resets the global configuration

func SetCredentials

func SetCredentials(accessKeyID, secretAccessKey string)

SetCredentials sets the static aws credentials

func SetEndpoint

func SetEndpoint(endpoint string)

SetEndpoint sets the aws dynamodb endpoint

func SetProfile

func SetProfile(profile string)

SetProfile sets the aws profile

func SetRegion

func SetRegion(region string)

SetRegion sets the aws dynamodb region

Types

type Config

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

Config holds aws configuration and profile

Jump to

Keyboard shortcuts

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