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.
17 lines
255 B
17 lines
255 B
package topology
|
|
|
|
import ()
|
|
|
|
type NodeId uint32
|
|
type VolumeId uint32
|
|
type VolumeInfo struct {
|
|
Id VolumeId
|
|
Size int64
|
|
}
|
|
type Node struct {
|
|
volumes map[VolumeId]VolumeInfo
|
|
volumeLimit int
|
|
Ip string
|
|
Port int
|
|
PublicUrl string
|
|
}
|