Add webapi. Provides an HTTP API for clients to use Peernet.

This commit is contained in:
Kleissner
2021-09-10 13:40:07 +02:00
parent 928c16c492
commit 19e29b3a91
8 changed files with 1041 additions and 17 deletions

2
go.mod
View File

@@ -6,6 +6,8 @@ require (
github.com/akrylysov/pogreb v0.10.1
github.com/btcsuite/btcd v0.21.0-beta.0.20210401013323-36a96f6a0025
github.com/google/uuid v1.3.0
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.4.2
github.com/pkg/errors v0.9.1
golang.org/x/crypto v0.0.0-20210415154028-4f45737414dc
golang.org/x/net v0.0.0-20210420210106-798c2154c571