Add metadata types
This commit is contained in:
parent
ab34be5063
commit
8c9a8769bd
17
pkg/database/metadata.go
Normal file
17
pkg/database/metadata.go
Normal file
@ -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"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user