-
Install Go
- via Installer https://go.dev/doc/install
- via Scoop
scoop bucket add main & scoop install main/go
-
Install Go plugin on VS Code or any other compatible Editor (Jetbrains GoLand)
-
Clone Project https://github.com/lucabarletta/dns-prototype.git
-
Open project in terminal or cmd and run
go run main.go
-
Go documentation https://go.dev/doc/effective_go
curl --location 'http://localhost:9090/domain.i2p'
{
// todo: add response
}
This dns entry is hardcoded and available after startup
curl --location \
--request PUT 'http://localhost:9090/domain.i2p/m6elnkiizogiz5wq4perd7aslir5rdu7jmtwxlxua5aofa43zyva'
{
"ident": "543E2jGQ"
}
- Docker compose
- documentation