storage

package
v1.1.22 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connection added in v1.1.10

func Connection(name string) storage.Storage

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 ServiceProvider added in v1.1.9

type ServiceProvider struct {
}

func (*ServiceProvider) Boot added in v1.1.9

func (database *ServiceProvider) Boot()

func (*ServiceProvider) Register added in v1.1.9

func (database *ServiceProvider) Register()

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

Directories

Path Synopsis
drivers

Jump to

Keyboard shortcuts

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