aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md22
-rw-r--r--client.go2
2 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index 311a6f9..f6df939 100644
--- a/README.md
+++ b/README.md
@@ -86,3 +86,25 @@ Restore: param(email)
## misc
If domain contains www.domain.tdl prefix include domain.tdl automaticly.
+
+## flow v2
+
+account key:
+ absent -> allocate key, register
+ present -> do nothing
+
+certificate key:
+ absent ->
+ check account key
+ allocate key, request certificate
+ present ->
+ check account key
+ certificate:
+ absent -> request certificate
+ present ->
+ check expire -> renew cert
+
+worker:
+ register account
+ request certificate
+ renew certifivicate
diff --git a/client.go b/client.go
index 596694f..83dcf57 100644
--- a/client.go
+++ b/client.go
@@ -56,6 +56,8 @@ func (c Client) Nonce() (string, error) {
// Replay-Nonce each response, required for next request
// Link links to next stage
// Retry-After polling interval
+// Location next step
+// Content-Location cert
// Action Request Response
//