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 +}