storage

package
v0.0.0-...-d5228f3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure() (err error)

Configure storage instance based on API_STORAGE_TYPE

Types

type Storage

type Storage interface {
	points.Storage
}

Storage interface definitions

func Get

func Get() Storage

Get storage instance

type Type

type Type string

Type of storage system

const (
	// Memory storage Type
	Memory Type = "memory"
	// MySQL storage Type
	MySQL Type = "mysql"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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