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

Method SendMessage

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

SendMessage sends a string

(message string, uniqueID string)

Source from the content-addressed store, hash-verified

41
42// SendMessage sends a string
43func (q *sqs) SendMessage(message string, uniqueID string) error {
44 _, err := q.client.SendMessage(&awssqs.SendMessageInput{
45 MessageBody: aws.String(message),
46 MessageDeduplicationId: aws.String(uniqueID),
47 MessageGroupId: aws.String(uniqueID),
48 QueueUrl: aws.String(q.queueURL),
49 })
50 return err
51}

Callers

nothing calls this directly

Calls 2

SendMessageMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected