You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
255 B
15 lines
255 B
10 years ago
|
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
|
||
|
}
|