examples/

directory
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Command datastoredemo exercises nosql/datastore against the Datastore emulator, or against a real project when credentials are present.
Command datastoredemo exercises nosql/datastore against the Datastore emulator, or against a real project when credentials are present.
Command dynamodbdemo exercises the nosql/dynamodb client against DynamoDB or DynamoDB Local: it creates a table, writes items one by one and in a batch, reads them back, queries a partition, and cleans up after itself.
Command dynamodbdemo exercises the nosql/dynamodb client against DynamoDB or DynamoDB Local: it creates a table, writes items one by one and in a batch, reads them back, queries a partition, and cleans up after itself.
Command fasthttpserver is a fasthttp server that works with both TinyGo and standard Go, routing through the fasthttprouter fork.
Command fasthttpserver is a fasthttp server that works with both TinyGo and standard Go, routing through the fasthttprouter fork.
Command httpsclient fetches an HTTPS URL using the https package, which performs TLS through the host OS stack.
Command httpsclient fetches an HTTPS URL using the https package, which performs TLS through the host OS stack.
Command httpsdemo exercises the https package and reports what the current platform does.
Command httpsdemo exercises the https package and reports what the current platform does.
Command httpserver is a minimal HTTP server that works with both TinyGo and standard Go.
Command httpserver is a minimal HTTP server that works with both TinyGo and standard Go.
Command s3demo exercises the storage/s3 client against any S3-compatible endpoint: it uploads an object, reads it back whole and by range, lists the bucket, and deletes what it created.
Command s3demo exercises the storage/s3 client against any S3-compatible endpoint: it uploads an object, reads it back whole and by range, lists the bucket, and deletes what it created.
Command websocketserver shows a WebSocket endpoint living alongside ordinary HTTP routes on one port, under both compilers.
Command websocketserver shows a WebSocket endpoint living alongside ordinary HTTP routes on one port, under both compilers.

Jump to

Keyboard shortcuts

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