New donut driver with local file encoding

This commit is contained in:
Frederick F. Kautz IV
2015-03-22 00:39:39 -07:00
parent d92a179cbc
commit 933d44c656
5 changed files with 618 additions and 42 deletions
+14
View File
@@ -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
}