Issue #3: mobile client fallback version

This commit is contained in:
Jakub Lehotsky 2018-11-05 22:55:45 +01:00
parent 0bf075d49d
commit fdd1a727cb
15 changed files with 367 additions and 1321 deletions

View file

@ -4,6 +4,12 @@ import (
"time"
)
var pmCrypto = PmCrypto{}
func GetPmCrypto() *PmCrypto {
return &pmCrypto
}
// UpdateTime update cached time
func (pm *PmCrypto) UpdateTime(newTime int64) {
pm.latestServerTime = newTime