Documentation ¶
Index ¶
- func AddEventListeners()
- func ClearItemsFromTimeline(items []string)
- func DeleteDisplayedItems()
- func DeleteFolder(folderID string)
- func DeleteItems(docIds []string)
- func DeleteSub(subID string)
- func DoLogout()
- func DoTimelineReload()
- func GetFoldersList()
- func GetMe()
- func GetSubsList()
- func GetTimeline(skey string, startKey *common.More, sid string)
- func GetToc()
- func PostNewFolder()
- func PostNewSub()
- func PostOpml()
- func RenderCard(doc *common.Doc, isIndex, isPushed bool) string
- func RenderFolders(folders []*common.Folder) string
- func RenderSubs(subs []*common.Sub, folders []*common.Folder) string
- func RenderTocCollapsible(row *common.TocRow) string
- func RenderTocRow(row *common.TocRow) string
- func RenderTocSubRow(row *common.TocSubRow) string
- func ShowPushedDocs()
- func StartWebsocket(pushedCh chan *common.Doc)
- func StreamRenderCard(qw422016 *qt422016.Writer, doc *common.Doc, isIndex, isPushed bool)
- func StreamRenderFolders(qw422016 *qt422016.Writer, folders []*common.Folder)
- func StreamRenderSubs(qw422016 *qt422016.Writer, subs []*common.Sub, folders []*common.Folder)
- func StreamRenderTocCollapsible(qw422016 *qt422016.Writer, row *common.TocRow)
- func StreamRenderTocRow(qw422016 *qt422016.Writer, row *common.TocRow)
- func StreamRenderTocSubRow(qw422016 *qt422016.Writer, row *common.TocSubRow)
- func UpdateSub(subID string)
- func WriteRenderCard(qq422016 qtio422016.Writer, doc *common.Doc, isIndex, isPushed bool)
- func WriteRenderFolders(qq422016 qtio422016.Writer, folders []*common.Folder)
- func WriteRenderSubs(qq422016 qtio422016.Writer, subs []*common.Sub, folders []*common.Folder)
- func WriteRenderTocCollapsible(qq422016 qtio422016.Writer, row *common.TocRow)
- func WriteRenderTocRow(qq422016 qtio422016.Writer, row *common.TocRow)
- func WriteRenderTocSubRow(qq422016 qtio422016.Writer, row *common.TocSubRow)
- type Timeline
- type Toc
- type TocCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEventListeners ¶
func AddEventListeners()
func ClearItemsFromTimeline ¶
func ClearItemsFromTimeline(items []string)
func DeleteDisplayedItems ¶
func DeleteDisplayedItems()
func DeleteFolder ¶ added in v0.3.0
func DeleteFolder(folderID string)
func DeleteItems ¶
func DeleteItems(docIds []string)
func DoTimelineReload ¶
func DoTimelineReload()
func GetFoldersList ¶ added in v0.3.0
func GetFoldersList()
func GetSubsList ¶
func GetSubsList()
func PostNewFolder ¶ added in v0.3.0
func PostNewFolder()
func PostNewSub ¶
func PostNewSub()
func RenderFolders ¶ added in v0.3.0
func RenderTocCollapsible ¶
func RenderTocRow ¶
func RenderTocSubRow ¶
func ShowPushedDocs ¶
func ShowPushedDocs()
func StartWebsocket ¶
func StreamRenderCard ¶
func StreamRenderFolders ¶ added in v0.3.0
func StreamRenderSubs ¶
func StreamRenderTocSubRow ¶
func WriteRenderCard ¶
func WriteRenderCard(qq422016 qtio422016.Writer, doc *common.Doc, isIndex, isPushed bool)
func WriteRenderFolders ¶ added in v0.3.0
func WriteRenderFolders(qq422016 qtio422016.Writer, folders []*common.Folder)
func WriteRenderSubs ¶
func WriteRenderTocCollapsible ¶
func WriteRenderTocCollapsible(qq422016 qtio422016.Writer, row *common.TocRow)
func WriteRenderTocRow ¶
func WriteRenderTocRow(qq422016 qtio422016.Writer, row *common.TocRow)
func WriteRenderTocSubRow ¶
func WriteRenderTocSubRow(qq422016 qtio422016.Writer, row *common.TocSubRow)
Types ¶
type Timeline ¶
type Timeline struct { Docs []*common.Doc `json:"docs"` TotalDocs int `json:"total_docs"` Append bool `json:"append"` More *common.More `json:"more"` Success bool `json:"success"` Skey string `json:"skey"` SID string `json:"sid"` }
func (*Timeline) ScrollToTop ¶
func (tl *Timeline) ScrollToTop()
Click to show internal directories.
Click to hide internal directories.