shared

package
v1.119.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package shared contains utilities which shared projects outside this repo (like edge). Use it with caution. Utilities are not handled as a public API, no backward compatible guarantee.

Directories

Path Synopsis
Package bloomfilter implements a bloom-filter for pieces that need to be preserved.
Package bloomfilter implements a bloom-filter for pieces that need to be preserved.
dbschema
Package dbschema package implements querying and comparing schemas for testing.
Package dbschema package implements querying and comparing schemas for testing.
pgutil
Package pgutil contains utilities for postgres
Package pgutil contains utilities for postgres
pgutil/pgerrcode
Package pgerrcode implements postgres error extraction without depending on a postgres library.
Package pgerrcode implements postgres error extraction without depending on a postgres library.
retrydb
package retrydb provides logic for determining whether transactions can or should be retried after they are aborted.
package retrydb provides logic for determining whether transactions can or should be retried after they are aborted.
txutil
Package txutil provides safe transaction-encapsulation functions which have retry semantics as necessary.
Package txutil provides safe transaction-encapsulation functions which have retry semantics as necessary.
Package location contains geolocation related constants and variables.
Package location contains geolocation related constants and variables.
gen
Package lrucache provides a LRU cache implementation with an optional key expiration time.
Package lrucache provides a LRU cache implementation with an optional key expiration time.
cli
Package nodeidmap implements an optimized version of map for storj.NodeID.
Package nodeidmap implements an optimized version of map for storj.NodeID.
Package processgroup implements process-grouping commands.
Package processgroup implements process-grouping commands.
Package tagsql implements a tagged wrapper for databases.
Package tagsql implements a tagged wrapper for databases.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL