Implement basic ban-API call back to Go-application for handling

This commit is contained in:
Michael Reber
2025-01-29 23:48:06 +01:00
parent 689f3fadd8
commit 3ffd2457ed
5 changed files with 165 additions and 17 deletions

7
go.mod
View File

@@ -2,7 +2,10 @@ module github.com/swissmakers/fail2ban-ui
go 1.22.9
require github.com/gin-gonic/gin v1.10.0
require (
github.com/gin-gonic/gin v1.10.0
github.com/oschwald/maxminddb-golang v1.13.1
)
require (
github.com/bytedance/sonic v1.11.6 // indirect
@@ -27,7 +30,7 @@ require (
golang.org/x/arch v0.8.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect