sqs

command
v1.0.4 Latest Latest
Warning

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

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

Documentation

Overview

snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[Creates an SQS queue with long polling enabled.] snippet-keyword:[Amazon Simple Queue Service] snippet-keyword:[Amazon SQS] snippet-keyword:[CreateQueue function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sqs snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]

Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This file is licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License. A copy of
the License is located at

 http://aws.amazon.com/apache2.0/

This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

snippet-start:[sqs.go.longpolling_create_queue.complete]

snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[Enables long polling on an SQS queue.] snippet-keyword:[Amazon Simple Queue Service] snippet-keyword:[Amazon SQS] snippet-keyword:[GetQueueUrl function] snippet-keyword:[SetQueueAttributes function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sqs snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]

Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This file is licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License. A copy of
the License is located at

 http://aws.amazon.com/apache2.0/

This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

snippet-start:[sqs.go.longpolling_existing_queue.complete]

snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[Enables long polling on message receipt.] snippet-keyword:[Amazon Simple Queue Service] snippet-keyword:[Amazon SQS] snippet-keyword:[GetQueueUrl function] snippet-keyword:[ReceiveMessage function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sqs snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]

Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This file is licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License. A copy of
the License is located at

 http://aws.amazon.com/apache2.0/

This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

snippet-start:[sqs.go.longpolling_receive_message.complete]

snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[AWS] snippet-sourcedescription:[Receives an SQS message.] snippet-keyword:[Amazon Simple Queue Service] snippet-keyword:[Amazon SQS] snippet-keyword:[ReceiveMessage function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sqs snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2019-01-28]

Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This file is licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License. A copy of
the License is located at

 http://aws.amazon.com/apache2.0/

This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

snippet-start:[sqs.go.receive_message]

Jump to

Keyboard shortcuts

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