Documentation ¶ Index ¶ func NewBadgerDB(name string) (storage.Storage, error) func NewDriver(ctx context.Context, name string) (storage.Storage, error) type Storage func NewStorage(name string) *Storage func (s *Storage) Connection(name string) storage.Storage Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewBadgerDB ¶ added in v1.1.8 func NewBadgerDB(name string) (storage.Storage, error) func NewDriver ¶ added in v1.1.8 func NewDriver(ctx context.Context, name string) (storage.Storage, error) Types ¶ type Storage ¶ type Storage struct { storage.Storage Name string // contains filtered or unexported fields } func NewStorage ¶ added in v1.1.8 func NewStorage(name string) *Storage func (*Storage) Connection ¶ added in v1.1.8 func (s *Storage) Connection(name string) storage.Storage Source Files ¶ View all Source files storage.go Directories ¶ Show internal Expand all Path Synopsis drivers badger memory Click to show internal directories. Click to hide internal directories.