ensqs

package module
v0.0.0-...-5a5816a Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 License: MIT Imports: 6 Imported by: 0

README

ensqs

The package to enqueue to AWS SQS.

###Install

go get github.com/LeeQY/ensqs

###Introduction

  • If error happens when enqueue to SQS, users need to retry.
  • If the network is poor, it will be long to return.
  • If there are many jobs needed to be enqueued, batch methods need to be applied.

This is the package to handle the problems above.

Enqueue to SQS is handled in a seperate coroutine. And will be cached in memory, which result in fast return. Automatically use batch method.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddValue

func AddValue(v *Value)

func SetInfo

func SetInfo(queueURL, region *string)

Need to set once.

Types

type Value

type Value struct {
	Key *string
	V   []byte
}

Jump to

Keyboard shortcuts

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