Browse by type

Go net.Conn and net.Listener interfaces over pluggable transports, with built-in drivers for Azure Storage services.
aznet has a driver-agnostic core that handles ordered, encrypted byte streams. Drivers provide the underlying transport; the built-in drivers use storage requests and polling. Applications use familiar Go I/O, but must account for storage latency, credential lifetime, finite buffers and cleanup ownership. Noise NN encrypts application frames without authenticating peer identity.
Follow Getting started to run a complete local round trip with Azurite and the examples/quickstart program. It prints hello aznet, verifies delivery and cleans up its demo resources.
To add the library to an existing Go project:
go get github.com/atsika/aznet
Use Go with automatic toolchain selection enabled. To try the built-in storage drivers, use an Azure Storage account or a local Azurite instance.
Full Close may delete unread session data. For delivery-sensitive responses, use CloseWrite and application-level completion before Close. Listener Close retains shared bootstrap resources; their administrator removes them explicitly after all namespace users stop. Neither credential renewal nor crash-proof remote cleanup is automatic. The listener's janitor closes accepted connections whose peer has sent nothing, keep-alive pings included, within the idle timeout (5 minutes by default). A dialed connection gets the same check only when WithIdleTimeout is passed to Dial; otherwise use read deadlines.
go test -race -count=1 ./...
go vet ./...
External-service tests require explicit opt-in; see the validation guide. The Starlight documentation uses Bun 1.4.2 and the committed docs/bun.lock. To install the locked dependencies and build:
cd docs
bun install --frozen-lockfile
bun run build
# For local editing:
bun run dev
The Driver/Transport registration mechanism remains the extension point. See the driver guide before changing ordering, retries or resource ownership.
MIT.
Built with the Noise Protocol and Azure SDK for Go.
Made with ❤️ by @_atsika
browse all types & interfaces →
$ claude mcp add aznet \
-- python -m otcore.mcp_server <graph>