Documentation ¶
Index ¶
- func ActivePrefix(dataAccessor database.DataAccessor) (*prefix.Prefix, bool, error)
- func DeleteInactivePrefix(db database.Database) error
- func InactivePrefix(dataAccessor database.DataAccessor) (*prefix.Prefix, bool, error)
- func SetPrefixAsActive(dataAccessor database.DataAccessor, prefix *prefix.Prefix) error
- func SetPrefixAsInactive(dataAccessor database.DataAccessor, prefix *prefix.Prefix) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivePrefix ¶
ActivePrefix returns the current active database prefix, and whether it exists
func DeleteInactivePrefix ¶
DeleteInactivePrefix deletes all data associated with the inactive database prefix, including itself.
func InactivePrefix ¶
InactivePrefix returns the current inactive database prefix, and whether it exists
func SetPrefixAsActive ¶
func SetPrefixAsActive(dataAccessor database.DataAccessor, prefix *prefix.Prefix) error
SetPrefixAsActive sets the given prefix as the active prefix
func SetPrefixAsInactive ¶
func SetPrefixAsInactive(dataAccessor database.DataAccessor, prefix *prefix.Prefix) error
SetPrefixAsInactive sets the given prefix as the inactive prefix
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.