From 1e12bcde6c782a588c46970a9f54235f034a1c71 Mon Sep 17 00:00:00 2001 From: tsousa111 Date: Wed, 17 Apr 2024 19:56:30 +0100 Subject: [PATCH] [PD1] forgot to add the client structures --- Projs/PD1/internal/client/datastore.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Projs/PD1/internal/client/datastore.go diff --git a/Projs/PD1/internal/client/datastore.go b/Projs/PD1/internal/client/datastore.go new file mode 100644 index 0000000..2ff30e9 --- /dev/null +++ b/Projs/PD1/internal/client/datastore.go @@ -0,0 +1,15 @@ +package client + +import "time" + +type Content struct { + Subject []byte + Body []byte +} + +type RecievedMessage struct { + FromUID string + ToUID string + Content Content + Timestamp time.Time +}