diff --git a/pkg/database/metadata.go b/pkg/database/metadata.go new file mode 100644 index 0000000..f9c204c --- /dev/null +++ b/pkg/database/metadata.go @@ -0,0 +1,17 @@ +package database + +import "time" + +type PisMetadata struct { + Type string `json:"type"` + LastUpdate string `json:"lastUpdate"` + LastVersion string `json:"lastVersion"` +} + +type CifMetadata struct { + Type string `json:"type"` + LastSequence int64 `json:"lastSequence"` + LastTimestamp int64 `json:"lastTimestamp"` + LastUpdate time.Time `json:"lastUpdate"` + LastUpdateType string `json:"lastUpdateType"` +}