Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Post ¶
type Post struct { // Post stores the actual post data Post api.Post // Reactions links the corresponding reactions in chronological order Reactions []*PostReaction // Archived indicates whether this post is archived or not Archived bool }
Post defines the post in-memory storage representations
type PostReaction ¶
type PostReaction struct { // Reaction stores the actual post reaction data Reaction api.PostReaction // Archived indicates whether this post reaction is archived or not Archived bool }
PostReaction defines the post reaction in-memory storage representations
type UserAccount ¶
type UserAccount struct { Profile api.User // Password stores this user's password in a secure hashed form Password string }
UserAccount defines a user account in-memory storage representation
Source Files ¶
- authenticateUser.go
- closeSession.go
- createPost.go
- createPostReaction.go
- createUser.go
- editPost.go
- engine.go
- findPostByIdent.go
- findPostReactionByIdent.go
- findSession.go
- getPostReactions.go
- getPosts.go
- getPostsAfter.go
- getReactionsOfPost.go
- getUser.go
- post.go
- postReaction.go
- removePost.go
- removePostReaction.go
- saveSession.go
- userAccount.go
Click to show internal directories.
Click to hide internal directories.