-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.go
More file actions
24 lines (22 loc) · 689 Bytes
/
init.go
File metadata and controls
24 lines (22 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package afs
import (
"github.com/viant/afs/file"
"github.com/viant/afs/http"
"github.com/viant/afs/mem"
"github.com/viant/afs/scp"
"github.com/viant/afs/ssh"
"github.com/viant/afs/tar"
"github.com/viant/afs/zip"
)
func init() {
registry := GetRegistry()
registry.Register(file.Scheme, file.Provider)
// registry.Register(embed.Scheme, embed.Provider)
registry.Register(mem.Scheme, mem.Provider)
registry.Register(http.Scheme, http.Provider)
registry.Register(http.SecureScheme, http.Provider)
registry.Register(scp.Scheme, scp.Provider)
registry.Register(ssh.Scheme, scp.Provider)
registry.Register(zip.Scheme, zip.Provider)
registry.Register(tar.Scheme, tar.Provider)
}