seaweedfs/weed-fs/src/pkg/topology/rack.go

11 lines
128 B
Go
Raw Normal View History

2012-08-24 11:56:09 +08:00
package topology
2012-08-24 13:33:37 +08:00
import ()
2012-08-24 11:56:09 +08:00
2012-08-24 13:33:37 +08:00
type RackId uint32
2012-08-24 11:56:09 +08:00
type Rack struct {
2012-08-24 13:33:37 +08:00
Id RackId
nodes map[NodeId]*Node
ipRange IpRange
2012-08-24 11:56:09 +08:00
}