Help us shape the future of Go! Take the 2026 Go Developer Survey

storage

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StorageMap = make(map[string]interface{})

Functions

func GetSpecificStoreType

func GetSpecificStoreType(name config.StorageDriver, tag string) (interface{}, error)

GetSpecificStoreType is used to get a sub-type of the Store interface e.g. DashboardStore, the storage specific init function must be called by the caller though.

Types

type Store

type Store interface {
	Init() error
	SetTag(string)
	GetTag() string
	Health() map[string]interface{}
	Clone() interface{}
}

Directories

Path Synopsis
Package mock provides a store to aid testing of mserv.
Package mock provides a store to aid testing of mserv.
Package mongo implements Mserv MongoDB storage.
Package mongo implements Mserv MongoDB storage.

Jump to

Keyboard shortcuts

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