Use server time as a default everywhere
This commit is contained in:
parent
fd6579114c
commit
c515ef8dc5
6 changed files with 47 additions and 25 deletions
|
|
@ -1,11 +1,14 @@
|
|||
package pm
|
||||
|
||||
import "time"
|
||||
|
||||
// OpenPGP structure to manage mutiple address keys and user keys
|
||||
type OpenPGP struct {
|
||||
addresses []*Address
|
||||
|
||||
//latestServerTime unix time cache
|
||||
latestServerTime int64
|
||||
latestClientTime time.Time
|
||||
}
|
||||
|
||||
// //AddAddress add a new address to key ring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue