diff options
Diffstat (limited to 'init.go')
-rw-r--r-- | init.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/init.go b/init.go index 8e7fe2f..25beeed 100644 --- a/init.go +++ b/init.go @@ -42,6 +42,19 @@ var twtxtCache = registry.NewIndex() // remote registry listing var remoteRegistries = &RemoteRegistries{} +// static assets cache +var staticCache = &struct { + index []byte + indexMod time.Time + css []byte + cssMod time.Time +}{ + index: nil, + indexMod: time.Time{}, + css: nil, + cssMod: time.Time{}, +} + func initGetwtxt() { checkFlags() titleScreen() |