Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*StorageOptions)
Option is the func interface to assign options
func WithStorageDriver ¶
WithStorageDriver sets the storage driver
type StorageContext ¶
type StorageContext interface {
Driver() drivers.DriverContext
}
StorageContext is the interface for the storage
func NewStorage ¶
func NewStorage(opts ...Option) (StorageContext, error)
type StorageOptions ¶
type StorageOptions struct {
Driver Driver
}
StorageOptions defines the options for the storage
Click to show internal directories.
Click to hide internal directories.