Populate buckets at start

This commit is contained in:
Frederick F. Kautz IV
2015-03-24 19:58:03 -07:00
parent 3c4012f1e7
commit cf2550b267
6 changed files with 86 additions and 19 deletions

View File

@@ -19,6 +19,7 @@ type Donut interface {
// Bucket interface
type Bucket interface {
GetNodes() ([]string, error)
AddNode(nodeID, bucketID string) error
}
// Node interface