provider

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DatabaseSet = wire.NewSet(ProvideDatabase)

DatabaseSet is providing you with a set of database providers

Functions

This section is empty.

Types

type BadgerDB

type BadgerDB struct {
	// contains filtered or unexported fields
}

func ProvideDatabase

func ProvideDatabase(options badger.Options) (*BadgerDB, error)

ProvideDatabase returns a connected badgerDB.

Jump to

Keyboard shortcuts

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