Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Post ¶
type Post struct { ID *store.ID `json:"id"` Creation *time.Time `json:"creation"` Author *User `json:"author"` Title *string `json:"title"` Contents *string `json:"contents"` Reactions []Reaction `json:"reactions"` }
Post defines the Post type query object
type Reaction ¶
type Reaction struct { ID *store.ID `json:"id"` Subject interface{} `json:"subject"` Creation *time.Time `json:"creation"` Author *User `json:"author"` Message *string `json:"message"` Emotion *emotion.Emotion `json:"emotion"` Reactions []Reaction `json:"reactions"` }
Reaction defines the Reaction type query object
type Session ¶
type Session struct { Key *string `json:"key"` Creation *time.Time `json:"creation"` User *User `json:"user"` }
Session defines the Session type query object
type User ¶
type User struct { ID *store.ID `json:"id"` Creation *time.Time `json:"creation"` Email *string `json:"email"` DisplayName *string `json:"displayName"` Posts []Post `json:"posts"` Sessions []Session `json:"sessions"` PublishedReactions []Reaction `json:"publishedReactions"` }
User defines the User type query object
Click to show internal directories.
Click to hide internal directories.