aboutsummaryrefslogtreecommitdiff
path: root/server/wkfs
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-01-13 00:06:46 +0000
committerNiall Sheridan <nsheridan@gmail.com>2017-01-13 20:56:41 +0000
commit57224ffa79aac59155a0f6a4ad47f224cac736fd (patch)
tree763b75c73fa6755f5d3733f24ec474081e987f5b /server/wkfs
parentadca4cec3bf97d73e082d4c986443ffc8fee6fe1 (diff)
Use wkfs to manage the lets encrypt cache
Diffstat (limited to 'server/wkfs')
-rw-r--r--server/wkfs/vaultfs/vault.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/wkfs/vaultfs/vault.go b/server/wkfs/vaultfs/vault.go
index f7c1360..dcefd54 100644
--- a/server/wkfs/vaultfs/vault.go
+++ b/server/wkfs/vaultfs/vault.go
@@ -69,6 +69,10 @@ func (fs *vaultFS) OpenFile(name string, flag int, perm os.FileMode) (wkfs.FileW
return nil, errors.New("not implemented")
}
+func (fs *vaultFS) Remove(path string) error {
+ return fs.client.Delete(path)
+}
+
type statInfo struct {
name string
size int64