revisions

package
v5.0.0-...-b98a0e9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	Put(version *Version) error
	List(offset uint64, limit uint64) ([]*Version, error)
	Retrieve(id uint64) (*Version, error)
}

Store is the interface for storing and listing configs versions

type Version

type Version struct {
	Id   uint64      `json:"Id,omitempty"`
	Data interface{} `json:"Data,omitempty"`
	Date time.Time
	User string
	Log  string
}

Version is a structure for encapsulating a new version of configs with additional metadata

Jump to

Keyboard shortcuts

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