Versions in this module Expand all Collapse all v0 v0.0.3 Mar 12, 2021 v0.0.2 Mar 12, 2021 v0.0.1 Mar 12, 2021 Changes in this version + const ActiveEmailOverHours + const PwdOverHours + const ThirdGithub + const ThirdQQ + const TokenActiveEmail + const TokenPwd + const TokenUpdateEmail + const UpdateEmailOverHours + type Album struct + AlbumId bson.ObjectId + CreatedTime time.Time + Name string + Seq int + Type int + UserId bson.ObjectId + type ApiNote struct + Abstract string + Content string + CreatedTime time.Time + Desc string + Files []NoteFile + IsBlog bool + IsDeleted bool + IsMarkdown bool + IsTrash bool + NoteId string + NotebookId string + PublicTime time.Time + Tags []string + Title string + UpdatedTime time.Time + UserId string + Usn int + func NoteToApiNote(note Note, files []NoteFile) ApiNote + type ApiNoteContent struct + Content string + NoteId bson.ObjectId + UserId bson.ObjectId + type ApiNotebook struct + CreatedTime time.Time + IsBlog bool + IsDeleted bool + NotebookId bson.ObjectId + ParentNotebookId bson.ObjectId + Seq int + Title string + UpdatedTime time.Time + UrlTitle string + UserId bson.ObjectId + Usn int + type ApiRe struct + Msg string + Ok bool + func NewApiRe() ApiRe + type ApiUser struct + Email string + Logo string + UserId string + Username string + Verified bool + type Archive struct + MonthAchives []ArchiveMonth + Posts []*Post + Year int + type ArchiveMonth struct + Month int + Posts []*Post + type Attach struct + AttachId bson.ObjectId + CreatedTime time.Time + Name string + NoteId bson.ObjectId + Path string + Size int64 + Title string + Type string + UploadUserId bson.ObjectId + type AuthOk struct + Email string + Ok bool + Token string + UserId bson.ObjectId + Username string + type BlogComment struct + CommentId bson.ObjectId + Content string + CreatedTime time.Time + LikeNum int + LikeUserIds []string + NoteId bson.ObjectId + ToCommentId bson.ObjectId + ToUserId bson.ObjectId + UserId bson.ObjectId + type BlogCommentPublic struct + IsILikeIt bool + type BlogInfoCustom struct + CommentType string + Domain string + Logo string + OpenComment bool + SubDomain string + SubTitle string + ThemeId string + Title string + UserId string + UserLogo string + Username string + type BlogItem struct + Abstract string + Content string + HasMore bool + User User + type BlogLike struct + CreatedTime time.Time + LikeId bson.ObjectId + NoteId bson.ObjectId + UserId bson.ObjectId + type BlogSingle struct + Content string + CreatedTime time.Time + SingleId bson.ObjectId + Title string + UpdatedTime time.Time + UrlTitle string + UserId bson.ObjectId + type BlogStat struct + CommentNum int + LikeNum int + NoteId bson.ObjectId + ReadNum int + type BlogUrls struct + ArchiveUrl string + CateUrl string + IndexUrl string + PostUrl string + SearchUrl string + SingleUrl string + TagPostsUrl string + TagsUrl string + type Cate struct + CateId string + Children []*Cate + ParentCateId string + Title string + UrlTitle string + type Config struct + ConfigId bson.ObjectId + IsArr bool + IsArrMap bool + IsMap bool + Key string + UpdatedTime time.Time + UserId bson.ObjectId + ValueArr []string + ValueArrMap []map[string]string + ValueMap map[string]string + ValueStr string + type EachHistory struct + Content string + UpdatedTime time.Time + UpdatedUserId bson.ObjectId + type EachSharedNote struct + Seq int + type EachSharedNotebook struct + Seq int + type EachSharedNotebookAndNotes struct + DefaultNotebook map[string]EachSharedNote + Notebooks map[string]EachSharedNotebook + Seq int + type EmailLog struct + Body string + CreatedTime time.Time + Email string + LogId bson.ObjectId + Msg string + Ok bool + Subject string + type File struct + AlbumId bson.ObjectId + CreatedTime time.Time + FileId bson.ObjectId + FromFileId bson.ObjectId + IsDefaultAlbum bool + Name string + Path string + Size int64 + Title string + Type string + UserId bson.ObjectId + type Group struct + CreatedTime time.Time + GroupId bson.ObjectId + Title string + UserCount int + UserId bson.ObjectId + Users []User + type GroupUser struct + CreatedTime time.Time + GroupId bson.ObjectId + GroupUserId bson.ObjectId + UserId bson.ObjectId + type HasShareNote struct + HasShareNotebookId bson.ObjectId + Seq int + ToUserId bson.ObjectId + UserId bson.ObjectId + type Note struct + AttachNum int + CommentNum int + CreatedTime time.Time + CreatedUserId bson.ObjectId + Desc string + HasSelfDefined bool + ImgSrc string + IsBlog bool + IsDeleted bool + IsMarkdown bool + IsRecommend bool + IsTop bool + IsTrash bool + LikeNum int + NoteId bson.ObjectId + NotebookId bson.ObjectId + PublicTime time.Time + ReadNum int + RecommendTime time.Time + Src string + Tags []string + Title string + UpdatedTime time.Time + UpdatedUserId bson.ObjectId + UrlTitle string + UserId bson.ObjectId + Usn int + type NoteAndContent struct + type NoteAndContentSep struct + NoteContentInfo NoteContent + NoteInfo Note + type NoteContent struct + Abstract string + Content string + CreatedTime time.Time + IsBlog bool + NoteId bson.ObjectId + UpdatedTime time.Time + UpdatedUserId bson.ObjectId + UserId bson.ObjectId + type NoteContentHistory struct + Histories []EachHistory + NoteId bson.ObjectId + UserId bson.ObjectId + type NoteFile struct + FileId string + HasBody bool + IsAttach bool + LocalFileId string + Title string + Type string + type NoteImage struct + ImageId bson.ObjectId + NoteId bson.ObjectId + NoteImageId bson.ObjectId + type NoteOrContent struct + Abstract string + Content string + Desc string + FromUserId string + ImgSrc string + IsBlog bool + IsMarkdown bool + IsNew bool + NoteId string + NotebookId string + Src string + Tags string + Title string + UserId string + type NoteTag struct + Count int + CreatedTime time.Time + IsDeleted bool + Tag string + TagId bson.ObjectId + UpdatedTime time.Time + UserId bson.ObjectId + Usn int + type Notebook struct + CreatedTime time.Time + IsBlog bool + IsDeleted bool + IsTrash bool + NotebookId bson.ObjectId + NumberNotes int + ParentNotebookId bson.ObjectId + Seq int + Title string + UpdatedTime time.Time + UrlTitle string + UserId bson.ObjectId + Usn int + type Notebooks struct + Subs SubNotebooks + type Page struct + Count int + CurPage int + List interface{} + PerPageSize int + TotalPage int + func NewPage(page, perPageSize, count int, list interface{}) Page + type Post struct + Abstract string + CommentNum int + Content string + CreatedTime time.Time + Desc string + ImgSrc string + IsMarkdown bool + LikeNum int + NoteId string + PublicTime time.Time + ReadNum int + Tags []string + Title string + UpdatedTime time.Time + UrlTitle string + type Re struct + Code int + Id string + Item interface{} + List interface{} + Msg string + Ok bool + func NewRe() Re + type ReUpdate struct + Msg string + Ok bool + Usn int + func NewReUpdate() ReUpdate + type Report struct + CommentId bson.ObjectId + CreatedTime time.Time + NoteId bson.ObjectId + Reason string + ReportId bson.ObjectId + UserId bson.ObjectId + type Session struct + Captcha string + CreatedTime time.Time + Id bson.ObjectId + LoginTimes int + SessionId string + UpdatedTime time.Time + UserId string + type ShareNote struct + CreatedTime time.Time + NoteId bson.ObjectId + Perm int + ShareNoteId bson.ObjectId + ToGroup Group + ToGroupId bson.ObjectId + ToUserId bson.ObjectId + UserId bson.ObjectId + type ShareNoteWithPerm struct + Perm int + type ShareNotebook struct + CreatedTime time.Time + NotebookId bson.ObjectId + Perm int + Seq int + ShareNotebookId bson.ObjectId + ToGroup Group + ToGroupId bson.ObjectId + ToUserId bson.ObjectId + UserId bson.ObjectId + type ShareNotebooks struct + IsDefault bool + NotebookId bson.ObjectId + Seq int + Subs SubShareNotebooks + type ShareNotebooksByUser map[string][]ShareNotebooks + type ShareUserInfo struct + Email string + NotebookHasShared bool + Perm int + ToUserId bson.ObjectId + type SharedNotebookAndNotes struct + Shared map[string]EachSharedNotebookAndNotes + UserId bson.ObjectId + type SharingNotebookAndNotes struct + Notebooks map[string][]string + Notes map[string][]string + UserId bson.ObjectId + type SubNotebooks []*Notebooks + func (this SubNotebooks) Len() int + func (this SubNotebooks) Less(i, j int) bool + func (this SubNotebooks) Swap(i, j int) + type SubShareNotebooks []ShareNotebooks + func (this SubShareNotebooks) Len() int + func (this SubShareNotebooks) Less(i, j int) bool + func (this SubShareNotebooks) Swap(i, j int) + type Suggestion struct + Addr string + Id bson.ObjectId + Suggestion string + UserId bson.ObjectId + type Tag struct + Tags []string + UserId bson.ObjectId + type TagCount struct + Count int + IsBlog bool + Tag string + TagCountId bson.ObjectId + UserId bson.ObjectId + type Theme struct + Author string + AuthorUrl string + CreatedTime time.Time + Info map[string]interface{} + IsActive bool + IsDefault bool + Name string + Path string + Style string + ThemeId bson.ObjectId + UpdatedTime time.Time + UserId bson.ObjectId + Version string + type Token struct + CreatedTime time.Time + Email string + Token string + Type int + UserId bson.ObjectId + type User struct + AccountEndTime time.Time + AccountStartTime time.Time + AccountType string + AttachNum int + AttachSize int + CreatedTime time.Time + Email string + FromUserId bson.ObjectId + FullSyncBefore time.Time + ImageNum int + ImageSize int + LeftIsMin bool + Logo string + MaxAttachNum int + MaxAttachSize int + MaxImageNum int + MaxImageSize int + MaxPerAttachSize int + MdEditorWidth int + NoteListWidth int + NotebookWidth int + Pwd string + Theme string + ThirdType int + ThirdUserId string + ThirdUsername string + UserId bson.ObjectId + Username string + UsernameRaw string + Usn int + Verified bool + type UserAccount struct + AccountEndTime time.Time + AccountStartTime time.Time + AccountType string + MaxAttachNum int + MaxAttachSize int + MaxImageNum int + MaxImageSize int + MaxPerAttachSize int + type UserAndBlog struct + BlogLogo string + BlogTitle string + BlogUrl string + Email string + Logo string + UserId bson.ObjectId + Username string + type UserAndBlogUrl struct + BlogUrl string + PostUrl string + type UserBlog struct + AboutMe string + CanComment bool + CateIds []string + CommentType string + Css string + DisqusId string + Domain string + IsAsc bool + Logo string + PerPageSize int + Singles []map[string]string + SortField string + Style string + SubDomain string + SubTitle string + ThemeId bson.ObjectId + ThemePath string + Title string + UserId bson.ObjectId + type UserBlogBase struct + Logo string + SubTitle string + Title string + type UserBlogComment struct + CanComment bool + CommentType string + DisqusId string + type UserBlogStyle struct + Css string + Style string