Versions in this module Expand all Collapse all v0 v0.0.2 Dec 9, 2021 v0.0.1 Oct 19, 2021 Changes in this version + var ZeroVersion = Version(time.Time{}) + func Sign(data interface{}) (string, error) + func Version(t time.Time) string + type ConfigGenerator func(ctx context.Context) (*ExportData, error) + type ExportData struct + DataSignWithoutVersion string + DataWithoutVersion VersionValuable + Topic string + func (cs *ExportData) CalculateVersion() (string, error) + func (cs *ExportData) Version() string + type VersionControlManager struct + func NewVersionControllerManager(txn itxn.TxnStorager, storager VersionControlStorager) *VersionControlManager + func (vcm *VersionControlManager) ExportConfig(ctx context.Context, configTopic string, generaotr ConfigGenerator) (lrv *ExportData, err error) + type VersionControlStorager interface + UpsertConfigLastExportedVersion func(ctx context.Context, css *ExportData) (string, error) + type VersionValuable interface + UpdateVersion func(version string) error