Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CropSizes ¶
type CropSizes struct { Y int `json:"y"` X int `json:"x"` Width int `json:"width"` Height int `json:"height"` }
CropSizes ..
type Message ¶
type Message struct { Sender string `json:"sender"` Receiver string `json:"receiver"` Content string `json:"content"` }
Message is the data model for the request messages
type MessageTime ¶
type MessageTime struct { Sender string `json:"sender"` Receiver string `json:"receiver"` Content string `json:"content"` Date time.Time `json:"time"` }
MessageTime is the data model for the mongodb saved messages
type NameAndDate ¶
NameAndDate ..
type NameAndDateStruct ¶
type NameAndDateStruct struct {
FriendRequests []NameAndDate `json:"friendrequests"`
}
NameAndDateStruct ...
type NameAndFriendToRemove ¶
type NameAndFriendToRemove struct { Name string `json:"name"` FriendToRemove string `json:"friendtoremove"` }
NameAndFriendToRemove ...
type NameAndImage ¶
NameAndImage request model
type NameAndImageAndAreaToCrop ¶
type NameAndImageAndAreaToCrop struct { Name string `json:"name"` Image string `json:"image"` AreaToCrop CropSizes `json:"areatocrop"` }
NameAndImageAndAreaToCrop ..
type NameAndNewFriend ¶
NameAndNewFriend request model
type NameAndPass ¶
NameAndPass ...
type SenderAndReceiver ¶
SenderAndReceiver ...
Click to show internal directories.
Click to hide internal directories.