status.go 647 B

1234567891011121314151617181920
  1. package acme
  2. // Status represents an ACME status.
  3. type Status string
  4. var (
  5. // StatusValid -- valid
  6. StatusValid = Status("valid")
  7. // StatusInvalid -- invalid
  8. StatusInvalid = Status("invalid")
  9. // StatusPending -- pending; e.g. an Order that is not ready to be finalized.
  10. StatusPending = Status("pending")
  11. // StatusDeactivated -- deactivated; e.g. for an Account that is not longer valid.
  12. StatusDeactivated = Status("deactivated")
  13. // StatusReady -- ready; e.g. for an Order that is ready to be finalized.
  14. StatusReady = Status("ready")
  15. //statusExpired = "expired"
  16. //statusActive = "active"
  17. //statusProcessing = "processing"
  18. )