Issue #3: mobile client fallback version
This commit is contained in:
parent
0bf075d49d
commit
fdd1a727cb
15 changed files with 367 additions and 1321 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue