Documentation ¶
Index ¶
- Constants
- Variables
- func CacheMiddlewareHandler(next http.Handler) http.Handler
- func GetThumbHash(key string) ([]byte, error)
- func GetThumbHashWithPathname(pathname string) ([]byte, error)
- func IsCurrentlyDarkMode() bool
- func OnShutdown(fn func())
- func Shutdown()
- func StoreThumbHash(key string, hash []byte) error
- func WebviewUserDataPath() string
Constants ¶
View Source
const DataPath = "./appdata"
View Source
const (
Name = "tomo"
)
View Source
const UserDataPath = "./userdata"
Variables ¶
View Source
var (
CacheDir = filepath.Join(DataPath, "cache")
)
View Source
var Version = "develop"
Functions ¶
func GetThumbHash ¶
func IsCurrentlyDarkMode ¶
func IsCurrentlyDarkMode() bool
func OnShutdown ¶
func OnShutdown(fn func())
func StoreThumbHash ¶
func WebviewUserDataPath ¶
func WebviewUserDataPath() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.