11 lines
326 B
Go
11 lines
326 B
Go
package statusservice
|
|
|
|
type StatusService interface {
|
|
HeadsChange(treeId string, heads []string)
|
|
HeadsReceive(senderId, treeId string, heads []string)
|
|
Watch(treeId string, ch chan struct{})
|
|
Unwatch(treeId string)
|
|
StateCounter() uint64
|
|
RemoveAllExcept(senderId string, differentRemoteIds []string, stateCounter uint64)
|
|
}
|