From 53bc7899e5dcb6c6365a2fd923b2166e660c0d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cidre?= Date: Wed, 11 Apr 2018 13:59:57 +0200 Subject: [PATCH] Update README.md --- ideas/146-status-go-sdk/README.md | 9 ++++-- ideas/146-status-go-sdk/progress.md | 43 +++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 ideas/146-status-go-sdk/progress.md diff --git a/ideas/146-status-go-sdk/README.md b/ideas/146-status-go-sdk/README.md index 77096e3..529420e 100644 --- a/ideas/146-status-go-sdk/README.md +++ b/ideas/146-status-go-sdk/README.md @@ -1,6 +1,6 @@ ## Preamble - Idea: + Idea: 146-status-go-sdk Title: Status GO-SDK Status: Draft Created: 2018-04-03 @@ -100,9 +100,12 @@ Description: TBD Testing Days required: TBD ## Success Metrics -TBD - diff --git a/ideas/146-status-go-sdk/progress.md b/ideas/146-status-go-sdk/progress.md new file mode 100644 index 0000000..8a2cf04 --- /dev/null +++ b/ideas/146-status-go-sdk/progress.md @@ -0,0 +1,43 @@ +## SDK Iterations + + +### Protocol messages + +[New protocol spec](https://docs.google.com/document/d/1Qh2h07T_qepzEJ7IytmxwIdQAOsGHrvhXwZxuZtbwgc/edit#) clearly defines all message types with examples. It's based on [transit-format](https://github.com/cognitect/transit-format), so it makes sense to evaluate its [go implementation](https://github.com/russolsen/transit) + +Use cases: + +### General +#### [ ] Message + +##### Parameters: + - content: the content of the message (a map or a string for now) + - content-type: the content-type of the message + - message-type: the type of the message + - to-clock-value : the clock of the sender for message ordering + - timestamp: the timestamp of message + +*Where does the destination/s of the message is defined?* + + +#### Private groups + +##### [ ] NewGroupKey + +- [ ] GroupAdminUpdate +- [ ] GroupLeave + +#### Contact management +- [ ] NewContactKey +- [ ] ContactRequest +- [ ] ContactRequestConfirmed +- [ ] ContactUpdate + +#### Not needed for first iteration +- [ ] Seen + + +##### Message + + +### Define final SDK UI based on different messages