utils

package
v0.0.0-...-044dd2c Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSQS

func CreateSQS(sess *session.Session, name string, policyName string) (queueUrl *string)

func DeleteMsg

func DeleteMsg(sess *session.Session, queueUrl string, messageHandle *string) error

func GetMsg

func GetMsg(sess *session.Session, queueUrl string, maxMessages int) (*sqs.ReceiveMessageOutput, error)

func GetPlayer

func GetPlayer(playerName string)

func ListSQS

func ListSQS(sess *session.Session, name string) (queueList []string)

func PurgeQueue

func PurgeQueue(sess *session.Session, queueUrl string) error

func SendMsg

func SendMsg(sess *session.Session, queueUrl string, msgBody string) error

Types

type Player

type Player struct {
	ID primitive.ObjectID `bson:"_id,omitempty"`
	// contains filtered or unexported fields
}

type Soloq

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

Jump to

Keyboard shortcuts

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