Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type 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 time.Duration
Number int32
Names []types.QueueAttributeName
Attributes []string
Send callback.SendMessage
Url callback.Url
GetAttributes callback.GetAttributes
// contains filtered or unexported fields
}
func NewReceive ¶
func NewReceive( client *Client, send callback.SendMessage, receive callback.ReceiveMessage, url callback.Url, attributes callback.GetAttributes, ) *Receive
func (*Receive) Cancel ¶ added in v0.0.8
func (r *Receive) Cancel(cancel context.CancelFunc)
Click to show internal directories.
Click to hide internal directories.