xmr-remote-nodes/handler/routes.go
ditatompel 55f6af1f22
Change estimate fee for stagenet to 56000
TODO: Create in-memory cache for NetFees function.
2024-05-31 13:30:56 +07:00

18 lines
389 B
Go

package handler
import (
"github.com/gofiber/fiber/v2"
)
func V1Api(app *fiber.App) {
v1 := app.Group("/api/v1")
v1.Get("/nodes", MoneroNodes)
v1.Post("/nodes", AddNode)
v1.Get("/nodes/id/:id", MoneroNode)
v1.Get("/nodes/logs", ProbeLogs)
v1.Get("/fees", NetFees)
v1.Get("/countries", Countries)
v1.Get("/job", CheckProber, GiveJob)
v1.Post("/job", CheckProber, ProcessJob)
}