config.go 583 B

1234567891011121314151617181920
  1. package main
  2. type (
  3. Config struct {
  4. CornExp string `json:"cornexp"`
  5. Es struct {
  6. Address string `json:"address"`
  7. DbSize int `json:"dbSize"`
  8. BiddingIndex string `json:"biddingIndex"`
  9. ProjectIndex string `json:"projectIndex"`
  10. Version string `json:"version"`
  11. UserName string `json:"userName"`
  12. Password string `json:"password"`
  13. } `json:"es"`
  14. WxKey string `json:"wxKey"`
  15. WxApi string `json:"wxApi"`
  16. LastProjectTime int64 `json:"lastProjectTime"`
  17. LastBiddingTime int64 `json:"lastBiddingTime"`
  18. }
  19. )