feat: add support for uploading Hotspot Captive Portal files (like background image, logo) (#42)

* feat: add support for uploading Hotspot Captive Portal files (like background image, logo)

* feat: add UploadPortalFileFromReader
This commit is contained in:
Mateusz Filipowicz
2025-03-03 02:03:10 +01:00
committed by GitHub
parent bdc73a9811
commit 278a72fbb9
6 changed files with 330 additions and 16 deletions

2
go.mod
View File

@@ -3,6 +3,7 @@ module github.com/filipowm/go-unifi
go 1.23.5
require (
github.com/gabriel-vasile/mimetype v1.4.8
github.com/go-playground/locales v0.14.1
github.com/go-playground/universal-translator v0.18.1
github.com/go-playground/validator/v10 v10.25.0
@@ -179,7 +180,6 @@ require (
github.com/firefart/nonamedreturns v1.0.5 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fzipp/gocyclo v0.6.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
github.com/ghostiam/protogetter v0.3.9 // indirect
github.com/github/smimesign v0.2.0 // indirect
github.com/go-critic/go-critic v0.12.0 // indirect