build_status.go 539 B

1234567891011121314151617
  1. package config
  2. import "time"
  3. type BuildStatus struct {
  4. DB DB `json:"db, omitempty"`
  5. }
  6. type DB struct {
  7. IP string `json:"ip, omitempty"`
  8. Port string `json:"port, omitempty"`
  9. Name string `json:"name, omitempty"`
  10. Username string `json:"username, omitempty"`
  11. Password string `json:"password, omitempty"`
  12. Active int `json:"active, omitempty"`
  13. Idle int `json:"idle, omitempty"`
  14. IdleTimeout time.Duration `json:"idleTimeout, omitempty"`
  15. }