[PD1] forgot to add the client structures
This commit is contained in:
parent
c57c093867
commit
1e12bcde6c
1 changed files with 15 additions and 0 deletions
15
Projs/PD1/internal/client/datastore.go
Normal file
15
Projs/PD1/internal/client/datastore.go
Normal file
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue