Apper is the interface for getting data into and out of a WriteFreely instance (or "App"). App returns the App for the current instance. LoadConfig reads an app configuration into the App, returning any error encountered. SaveConfig persists the current App configuration. LoadKeys reads the App'
| 126 | // LoadKeys reads the App's encryption keys and loads them into its |
| 127 | // key.Keychain. |
| 128 | type Apper interface { |
| 129 | App() *App |
| 130 | |
| 131 | LoadConfig() error |
| 132 | SaveConfig(*config.Config) error |
| 133 | |
| 134 | LoadKeys() error |
| 135 | |
| 136 | ReqLog(r *http.Request, status int, timeSince time.Duration) string |
| 137 | } |
| 138 | |
| 139 | // App returns the App |
| 140 | func (app *App) App() *App { |
no outgoing calls
no test coverage detected