Skip to content

azure-services ​

Source on GitHub · All examples

Blob, Queue and Table Storage plus Cosmos DB (SQL API), all in one Gopherstack instance, driven with curl.

What it shows ​

ServicePortSteps
Blob Storage10000create container, upload, list, download, delete
Queue Storage10001create queue, enqueue, dequeue, delete message, delete queue
Table Storage10002create table, insert entity, read it back, delete
Cosmos DB8081account root call, create database, container and document, parameterized SQL query, delete

No credentials are sent. Auth verification is off by default for every Azure service, so no SharedKey signing or Cosmos master key is needed. See docs/services/.

Prerequisites ​

  • Docker (or Go), curl, grep, head, sed.

Run ​

bash
docker compose up -d --build
./demo.sh

Without Docker, run go run . in the repo root instead of the first command.

Expected output ​

The script prints each step and ends with:

=== All four Azure services exercised successfully ===

A non-2xx response prints FAILED: <step> returned HTTP <status> and exits non-zero.

Clean up ​

bash
docker compose down -v

See also ​

Released under the MIT License.