MCPcopy Index your code
hub / github.com/Atsika/aznet

github.com/Atsika/aznet @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
237 symbols 494 edges 17 files 82 documented · 35%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

aznet

<img src="https://github.com/Atsika/aznet/raw/main/docs/src/assets/aznet.png" width="300">

Network abstraction over Azure Storage

The standard Go net.Conn interface using Azure Storage services as the transport layer.

What is aznet?

aznet provides a TCP-like networking abstraction over Azure Storage, allowing you to use familiar socket programming patterns with cloud storage as the underlying transport. Any code that works with net.Conn can work with aznet.

Drop-in Replacement Example

Swap standard TCP for Azure Storage with a single line:

// Before: Standard TCP
ln, _ := net.Listen("tcp", ":8080")

// After: aznet using Azure Blob Storage
ln, _ := aznet.Listen("azblob", "https://account:key@account.blob.core.windows.net/")

Documentation

Comprehensive documentation is available in the docs/ directory and rendered via Starlight:

cd docs
pnpm install
pnpm dev

Requirements

  • Go 1.25 or later.
  • An Azure Storage Account (or Azurite for local development).

Installation

go get github.com/atsika/aznet

Contributing

Contributions are welcome! Please see the existing code structure and driver implementations.

License

MIT License - see LICENSE file for details.

Credits


Built with ❤️ by Atsika

Extension points exported contracts — how you extend this code

Transport (Interface)
Transport is the raw byte-exchange interface implemented by drivers. [3 implementers]
aznet.go
Metrics (Interface)
Metrics is an interface for tracking connection statistics. Drivers call Increment* and collectors read via Get*. [1 implementers]
metrics.go
Option (FuncType)
Option defines a functional option for Listen/Dial.
options.go
Driver (Interface)
Driver defines how a driver handles the initial connection setup. [3 implementers]
aznet.go
Factory (Interface)
Factory is an interface for creating a Driver implementation. [3 implementers]
aznet.go
Rotator (Interface)
Rotator is optionally implemented by transports that need resource rotation (e.g., blob append blobs have a 50,000 block [2 …
aznet.go

Core symbols most depended-on inside this repo

Close
called by 13
aznet.go
ServiceURL
called by 11
endpoint.go
String
called by 11
aznet.go
JoinURL
called by 8
endpoint.go
RemoteAddr
called by 6
aznet.go
IncrementDeleteTransaction
called by 5
metrics.go
flush
called by 5
aznet.go
BuildFrame
called by 5
frame.go

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