github.com/code-to-go/safepool.lib@v0.0.0-20221205180519-ee25e63c226e/model_/change.go_ (about)

     1  package model
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  // ChangeFile stores information about recent change files in different transport
     8  type ChangeFile struct {
     9  	Domain      string
    10  	Name        string
    11  	Id          uint64
    12  	ExchangeUrl string
    13  	ModTime     time.Time
    14  }
    15  
    16  type ChangeFileHeader struct {
    17  	Version float32
    18  	Flag    uint32
    19  	Domain  string
    20  	Name    string
    21  	Ids     []uint64
    22  	FirstId uint64
    23  	Author  Identity
    24  }