model.go 345 B

123456789101112131415
  1. package model
  2. // UserConf user configruation
  3. type UserConf struct {
  4. ModuleKey int `json:"module_key,omitempty"`
  5. Mid int64 `json:"mid,omitempty"`
  6. CheckSum int64 `json:"check_sum"`
  7. Timestamp int64 `json:"timestamp"`
  8. }
  9. // Document data store
  10. type Document struct {
  11. CheckSum int64 `json:"check_sum"`
  12. Doc string `json:"doc"`
  13. }