configupgrade

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CurrentConfigVersion = 11

CurrentConfigVersion is the version of the configuration structure. Used for upgrading

Variables

This section is empty.

Functions

func DoUpgrade

func DoUpgrade(settings *models.Configuration, env *environment.Environment) bool

DoUpgrade checks if an old version is present and updates it to the current version if required

Types

type Hotlink struct {
	Id     string `json:"Id"`
	FileId string `json:"FileId"`
}

Hotlink is a legacy struct containing hotlink ids

Jump to

Keyboard shortcuts

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