Versions in this module Expand all Collapse all v0 v0.0.8 Jun 3, 2020 v0.0.7 Mar 18, 2020 Changes in this version + type NonceDb struct + func NewNonceDb() *NonceDb + func (ndb *NonceDb) Add(nonce string, delta int64, aux interface{}) *NonceObj + func (ndb *NonceDb) AddAux(nonce string, aux interface{}) bool + func (ndb *NonceDb) DeleteOld() + func (ndb *NonceDb) DeleteOldOportunistic() + func (ndb *NonceDb) New(delta int64, aux interface{}) *NonceObj + func (ndb *NonceDb) Search(nonce string) (*NonceObj, bool) + func (ndb *NonceDb) SearchAndDelete(nonce string) (*NonceObj, bool) + type NonceObj struct + Aux interface{} + Expiration int64 + Nonce string