mirror of
https://github.com/minio/minio.git
synced 2024-12-27 23:55:56 -05:00
15 lines
255 B
Go
15 lines
255 B
Go
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
|
|
}
|