awseph

package
v0.0.0-...-758b2ab Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustExists

func MustExists(b bool, err error) bool

Types

type Session

type Session struct {
	AwsSession *session.Session
	Defers     []func() error
}

func NewScopedSession

func NewScopedSession(sess *session.Session) (*Session, func())

func NewSession

func NewSession(sess *session.Session) *Session

func (*Session) AddService

func (m *Session) AddService(i interface{}, f func() error, err error) interface{}

func (*Session) Defer

func (m *Session) Defer() func()

func (*Session) DynamoDBTableMustCreateByDynamo

func (m *Session) DynamoDBTableMustCreateByDynamo(name string, from interface{})

func (*Session) S3BucketMustCreate

func (m *Session) S3BucketMustCreate(name string) *s3.CreateBucketOutput

func (*Session) SQSQueueMustCreate

func (m *Session) SQSQueueMustCreate(name string) *sqs.CreateQueueOutput

func (*Session) Teardown

func (m *Session) Teardown()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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