Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + type PathDBAdapter struct + func New(pdb pathdb.PathDB) *PathDBAdapter + func (a *PathDBAdapter) BeginTransaction(ctx context.Context, opts *sql.TxOptions) (hiddenpathdb.Transaction, error) + func (a *PathDBAdapter) Close() error + func (rw PathDBAdapter) Delete(ctx context.Context, params *hiddenpathdb.Params) (int, error) + func (rw PathDBAdapter) DeleteExpired(ctx context.Context, now time.Time) (int, error) + func (rw PathDBAdapter) Get(ctx context.Context, params *hiddenpathdb.Params) (query.Results, error) + func (rw PathDBAdapter) Insert(ctx context.Context, seg *seg.Meta, ids hiddenpath.GroupIdSet) (pathdb.InsertStats, error)