upgrader

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: MIT Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Upgrader

type Upgrader interface {
	Upgrade() error
}

Upgrader is an interface to implement a database upgrade strategy

func GetUpgrader

func GetUpgrader(redis interfaces.Redis, version int) Upgrader

GetUpgrader returns the upgrader for the given target version

Jump to

Keyboard shortcuts

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