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
Click to show internal directories.
Click to hide internal directories.