Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoSessions ¶
func GoSessions() *goSessions
Types ¶
type Post ¶
type Post struct { ID string PostedByID string PostDate int64 ReplyCount int Replies map[string][]string // map[By]With }
Post is a struct that represents a specific post's infomation in Go
type Posts ¶
type Posts interface { Store(post *Post) error Update(post *Post) error Delete(id string) error ByID(id string) (*Post, error) ByUser(uid string) ([]*Post, error) }
Posts deals with the storage of posts aswell as the retrival by certain criteria
type Sessions ¶
type Sessions interface { Store(sess *Session) error Delete(sid string) error GetSession(sid string) (*Session, error) }
Sessions ...
Click to show internal directories.
Click to hide internal directories.