Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultSquad is the default squad name
DefaultSquad = "default"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for one sqs client
type QueueClient ¶
type QueueClient struct { *Client BaseInfo models.NodeRequestParams // contains filtered or unexported fields }
QueueClient for one query client
func (*QueueClient) ApplyNode ¶
func (cli *QueueClient) ApplyNode() error
ApplyNode applies for a available node
func (*QueueClient) PullMessages ¶
func (cli *QueueClient) PullMessages(handler func([]Message) error) error
PullMessages for pull message request
func (*QueueClient) PushMessage ¶
func (cli *QueueClient) PushMessage(content string) error
PushMessage pushes a message
Click to show internal directories.
Click to hide internal directories.