added forwarder service

This commit is contained in:
Shelikhoo
2021-03-20 21:59:30 +00:00
parent 2d778239a3
commit f63ee69fcf
5 changed files with 118 additions and 0 deletions
+5
View File
@@ -1,6 +1,11 @@
package securedload
import "path/filepath"
func GetAssetSecured(name string) ([]byte, error) {
name = filepath.FromSlash(name)
var err error
for k, v := range knownProtectedLoader {
if loadedData, errLoad := v.VerifyAndLoad(name); errLoad == nil {