diff --git a/pkg/core/helpers.go b/pkg/core/helpers.go index c39a1eee..161a5504 100644 --- a/pkg/core/helpers.go +++ b/pkg/core/helpers.go @@ -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) -}