Gitiles
Code Review
Sign In
code.v1.dodo.cloud
/
pcloud
/
8d537a7c36e14b0fbd60d63dc6ec6f979fe59ec8
/
.
/
master
/
chunk.go
blob: 00798c91b8e80364143281d15f1235d136f96890 [
file
] [
log
] [
blame
]
giolekva
1f6577a
2020-03-25 12:53:06 +0400
[
diff
] [
blame
]
1
package master
2
3
import (
4
"pcloud/api"
5
)
6
7
type chunkServerStatus int
8
9
const (
10
Healthy chunkServerStatus = iota
11
UNREACHABLE
12
)
13
14
type chunkServer struct {
15
address string
16
status chunkServerStatus
17
chunks map[string]api.ChunkStatus
18
}