session

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const AwsSessionFactory string = "AwsSessionFactory"

Variables

This section is empty.

Functions

func NewSessionWithRegion

func NewSessionWithRegion(client *http.Client, region string) *session.Session

Types

type Factory

type Factory interface {
	GetClient() *http.Client
	GetCredentials(region string) *credentials.Credentials
	GetSession(region string) *session.Session
}

func NewSessionFactory

func NewSessionFactory() Factory

Jump to

Keyboard shortcuts

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