Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.08 KB

File metadata and controls

29 lines (21 loc) · 1.08 KB

AGENTS.md

someguy is a server implementing the Delegated Routing V1 HTTP API. It proxies requests to the Amino DHT and other delegated routing endpoints. It is a caching proxy, not a libp2p node.

Build and test

go build ./...
go test ./...

Run gofmt and go vet ./... before committing.

Code map

  • main.go, server.go: CLI entry point, host and router wiring.
  • server_routers.go: router composition (composableRouter, parallelRouter, libp2pRouter, sanitizeRouter).
  • server_cached_router.go, cached_addr_book.go: address caching layer.
  • server_dht.go: DHT setup (standard and accelerated).
  • server_delegated_routing.go: delegated HTTP routing clients.

Documentation