Remove NewSecret function and related import from helpers.go

This commit is contained in:
seydx
2025-09-30 15:21:30 +02:00
parent 8f9e78be0c
commit 0c5a2bf02b
-6
View File
@@ -7,8 +7,6 @@ import (
"strconv"
"strings"
"time"
"github.com/AlexxIT/go2rtc/internal/app"
)
const (
@@ -91,7 +89,3 @@ func StripUserinfo(s string) string {
sanitizer := regexp.MustCompile(`://[` + userinfo + `]+@`)
return sanitizer.ReplaceAllString(s, `://***@`)
}
func NewSecret(name string, defaultValues interface{}) (*app.Secret, error) {
return app.NewSecret(name, defaultValues)
}