MCPcopy
hub / github.com/writefreely/writefreely / initLocalTimeline

Function initLocalTimeline

read.go:62–67  ·  view source on GitHub ↗
(app *App)

Source from the content-addressed store, hash-verified

60}
61
62func initLocalTimeline(app *App) {
63 app.timeline = &localTimeline{
64 postsPerPage: tlPostsPerPage,
65 m: memo.New(app.FetchPublicPosts, tlCacheDur),
66 }
67}
68
69// satisfies memo.Func
70func (app *App) FetchPublicPosts() (interface{}, error) {

Callers 2

handleAdminUpdateConfigFunction · 0.85
InitializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected