so much work to do :c
This commit is contained in:
+12
-5
@@ -19,11 +19,18 @@ type User struct {
|
||||
}
|
||||
|
||||
type Connection struct {
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
Id uint32 `json:"id"`
|
||||
RequestorId uint32 `json:"requestorId"`
|
||||
RecipientId uint32 `json:"recipientId"`
|
||||
MessagesBuf
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
MessagesBuf [MaxDirectMsgCache]*Message `json:"-"`
|
||||
Id uint32 `json:"id"`
|
||||
RequestorId uint32 `json:"requestorId"`
|
||||
RecipientId uint32 `json:"recipientId"`
|
||||
State uint8 `json:"state"`
|
||||
}
|
||||
|
||||
type Message struct {
|
||||
Content string `json:"content"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
Sender uint32 `json:"sender"`
|
||||
}
|
||||
|
||||
type Group struct {
|
||||
|
||||
Reference in New Issue
Block a user