MCPcopy
hub / github.com/writefreely/writefreely / App

Struct App

app.go:69–81  ·  view source on GitHub ↗

App holds data and configuration for an individual WriteFreely instance.

Source from the content-addressed store, hash-verified

67
68// App holds data and configuration for an individual WriteFreely instance.
69type App struct {
70 router *mux.Router
71 shttp *http.ServeMux
72 db *datastore
73 cfg *config.Config
74 cfgFile string
75 keys *key.Keychain
76 sessionStore sessions.Store
77 formDecoder *schema.Decoder
78 updates *updatesCache
79
80 timeline *localTimeline
81}
82
83// DB returns the App's datastore
84func (app *App) DB() *datastore {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected