MCPcopy
hub / github.com/cortexlabs/cortex / NewSQS

Function NewSQS

pkg/async-gateway/queue.go:36–40  ·  view source on GitHub ↗

NewSQS creates a new SQS client that satisfies the Queue interface

(queueURL string, sess *session.Session)

Source from the content-addressed store, hash-verified

34
35// NewSQS creates a new SQS client that satisfies the Queue interface
36func NewSQS(queueURL string, sess *session.Session) Queue {
37 client := awssqs.New(sess)
38
39 return &sqs{queueURL: queueURL, client: client}
40}
41
42// SendMessage sends a string
43func (q *sqs) SendMessage(message string, uniqueID string) error {

Callers 1

CreateWorkloadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected