MCPcopy Create free account
hub / github.com/Atsika/aznet

github.com/Atsika/aznet @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
237 symbols 494 edges 17 files ⚖ MIT 82 documented · 35% ● updated 10d ago★ 32

Browse by type

⨍ Functions 206◇ Types & classes 31
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

aznet

aznet logo

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.

Start here

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.

Development

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.

License

MIT.

Credits

Built with the Noise Protocol and Azure SDK for Go.


Made with ❤️ by @_atsika

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 159
Function 47
Struct 24
Interface 6
FuncType 1

Languages

Go100%

Modules by API surface

aznet.go68 symbols
metrics.go41 symbols
aztable.go28 symbols
azblob.go28 symbols
azqueue.go25 symbols
options.go17 symbols
crypto.go12 symbols
endpoint.go6 symbols
poll.go4 symbols
frame.go2 symbols
cmd/azurl/main.go2 symbols
examples/metrics/server/server.go1 symbols

For agents

$ claude mcp add aznet \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page