예제 #1
0
func (ss *stateSnapshot) setEndTime(v time.Time) {
	ss.endTime = v
	statemanager.StateUpdateTime(ss.stateIDs["endTime"], v)
}
예제 #2
0
func (mc *masterClock) setStartTime(v time.Time) error {
	mc.startTime = v
	statemanager.StateUpdateTime(mc.stateIDs["startTime"], v)
	return nil
}