param

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*Provider
	simaqian.Logger

	Region string
	Wait   time.Duration
	Queues map[string]*string
}

func NewClient

func NewClient() *Client

type Handle

type Handle struct {
	*internal.Base
	*Provider

	Times    int
	Interval time.Duration

	Decoder    transcoder.Decoder
	Visibility callback.ChangeMessageVisibility
	Delete     callback.DeleteMessage
}

func NewHandle

func NewHandle(visibility callback.ChangeMessageVisibility, delete callback.DeleteMessage) *Handle

type Provider added in v0.0.2

type Provider struct {
	Credentials aws.CredentialsProvider
}

func NewProvider added in v0.0.2

func NewProvider() (provider *Provider)

type Receive

type Receive struct {
	*internal.Base
	*Provider

	Wait       time.Duration
	Visibility int32
	Number     int32
	Names      []types.QueueAttributeName
	Attributes []string

	Receive callback.ReceiveMessage
	Url     callback.Url
	// contains filtered or unexported fields
}

func NewReceive

func NewReceive(client *Client, receive callback.ReceiveMessage, url callback.Url) *Receive

func (*Receive) WaitTimeSeconds

func (r *Receive) WaitTimeSeconds() int32

type Send

func NewSend

func NewSend(send callback.SendMessage, url callback.Url) *Send

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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