queue

package
v0.0.0-...-fe3a24c Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Number  string `json:"number"`
	Message string `json:"message"`
}

type ExternalQueueService

type ExternalQueueService interface {
	Connect()
	GetMessage(routine int) (string, string, rawMessage, error)
	DeleteMessage(message rawMessage) error
}

type SQS

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

func New

func New() *SQS

func (*SQS) Connect

func (s *SQS) Connect()

func (*SQS) DeleteMessage

func (s *SQS) DeleteMessage(message rawMessage) error

func (*SQS) GetMessage

func (s *SQS) GetMessage(routine int) (string, string, rawMessage, error)

Jump to

Keyboard shortcuts

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