sqliteStorage

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDirectStorage added in v1.28.0

func NewDirectStorage(opts NewDirectStorageOpts) (_ storage.ClientImplCloser, err error)

A convenience function that creates a connection pool, resource provider, and a pieces storage ClientImpl and returns them all with a Close attached.

func NewWrappingClient added in v1.32.0

func NewWrappingClient(cache *squirrel.Cache) storage.ClientImpl

Creates a storage.ClientImpl from a provided squirrel.Cache. The caller is responsible for closing the squirrel.Cache.

Types

type NewDirectStorageOpts added in v1.28.0

type NewDirectStorageOpts = squirrel.NewCacheOpts

Jump to

Keyboard shortcuts

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