feat: Add full example with encryption, compression and signatures

This commit is contained in:
Felix Pojtinger
2022-01-08 23:14:55 +01:00
parent a15c7e7cac
commit fc05ffd532
6 changed files with 318 additions and 50 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import (
"github.com/pojntfx/stfs/internal/logging"
"github.com/pojntfx/stfs/pkg/cache"
"github.com/pojntfx/stfs/pkg/config"
sfs "github.com/pojntfx/stfs/pkg/fs"
"github.com/pojntfx/stfs/pkg/fs"
"github.com/pojntfx/stfs/pkg/keys"
"github.com/pojntfx/stfs/pkg/operations"
"github.com/pojntfx/stfs/pkg/persisters"
@@ -177,7 +177,7 @@ var serveFTPCmd = &cobra.Command{
},
)
stfs := sfs.NewSTFS(
stfs := fs.NewSTFS(
readOps,
writeOps,
+2 -2
View File
@@ -13,7 +13,7 @@ import (
"github.com/pojntfx/stfs/internal/logging"
"github.com/pojntfx/stfs/pkg/cache"
"github.com/pojntfx/stfs/pkg/config"
sfs "github.com/pojntfx/stfs/pkg/fs"
"github.com/pojntfx/stfs/pkg/fs"
"github.com/pojntfx/stfs/pkg/keys"
"github.com/pojntfx/stfs/pkg/operations"
"github.com/pojntfx/stfs/pkg/persisters"
@@ -120,7 +120,7 @@ var serveHTTPCmd = &cobra.Command{
},
)
stfs := sfs.NewSTFS(
stfs := fs.NewSTFS(
readOps,
nil,