support both mysql and postgres

This commit is contained in:
Chris Lu
2018-05-26 22:02:49 -07:00
parent 87b3b84471
commit 869161a261
6 changed files with 127 additions and 30 deletions

View File

@@ -15,6 +15,7 @@ import (
_ "github.com/chrislusf/seaweedfs/weed/filer2/leveldb"
_ "github.com/chrislusf/seaweedfs/weed/filer2/memdb"
_ "github.com/chrislusf/seaweedfs/weed/filer2/mysql"
_ "github.com/chrislusf/seaweedfs/weed/filer2/postgres"
)
type FilerServer struct {