gsess

package
v0.0.0-...-39852fc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MsgTakeApart

func MsgTakeApart(messages []*sqs.Message) (string, string, map[string]string)

Types

type GSA

type GSA struct {
	Sess *session.Session
	// contains filtered or unexported fields
}

func NewAWS

func NewAWS() *GSA

func (*GSA) CreateBucket

func (gsa *GSA) CreateBucket(bucket string) error

func (*GSA) CreateInstance

func (gsa *GSA) CreateInstance(keyName string) error

func (*GSA) CreateSQS

func (gsa *GSA) CreateSQS(qName string) (string, error)

func (*GSA) DeleteBucket

func (gsa *GSA) DeleteBucket(bucket string) error

func (*GSA) DeleteItem

func (gsa *GSA) DeleteItem(bucket string, item string) error

func (*GSA) GetItem

func (gsa *GSA) GetItem(bucket string, item string) (int64, string, error)

func (*GSA) ListBuckets

func (gsa *GSA) ListBuckets() (*s3.ListBucketsOutput, error)

func (*GSA) PutItem

func (gsa *GSA) PutItem(bucket string, item string, data string) (string, error)

func (*GSA) ReceiveSQS

func (gsa *GSA) ReceiveSQS(qName string) (string, string, map[string]string, error)

func (*GSA) SendSQS

func (gsa *GSA) SendSQS(qName string, delay int64, msgAttrib map[string]*sqs.MessageAttributeValue, msgBody string) (string, error)

Jump to

Keyboard shortcuts

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