sqliteStorage

package
v0.0.0-...-6e19431 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDirectStorage

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

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

type NewDirectStorageOpts = squirrel.NewCacheOpts

Jump to

Keyboard shortcuts

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