Versions in this module Expand all Collapse all v1 v1.0.2 May 8, 2026 v1.0.1 Apr 9, 2026 Changes in this version + type IdSingleHandler struct + func NewIdSingleHandler(dbService db.IService) (res *IdSingleHandler) + func (this_ *IdSingleHandler) CacheId(ctx context.Context, idType module_id.IdType, id int64) error + func (this_ *IdSingleHandler) Increment(ctx context.Context, idType module_id.IdType, size int64) (int64, error) + func (this_ *IdSingleHandler) PersistLock(ctx context.Context, idType module_id.IdType) (unlocker module_id.Unlocker, err error) + func (this_ *IdSingleHandler) RecoverLock(ctx context.Context, idType module_id.IdType) (unlocker module_id.Unlocker, err error) + func (this_ *IdSingleHandler) ShouldCheckAndPersist() bool