mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
New donut driver with local file encoding
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package donut
|
||||
|
||||
type bucketDriver struct {
|
||||
nodes []string
|
||||
objects map[string][]byte
|
||||
}
|
||||
|
||||
func (self bucketDriver) GetNodes() ([]string, error) {
|
||||
var nodes []string
|
||||
for _, node := range self.nodes {
|
||||
nodes = append(nodes, node)
|
||||
}
|
||||
return nodes, nil
|
||||
}
|
||||
Reference in New Issue
Block a user