add clickable notification

This commit is contained in:
2026-04-10 10:14:19 +02:00
parent 0ce248b2f9
commit 8ae5dfc483
4 changed files with 18 additions and 5 deletions

View File

@@ -15,12 +15,15 @@ type Handler struct {
configService ConfigService
}
// ConfigService is the small interface needed by the web layer.
type ConfigService interface {
GetIntDefault(key string, def int) int
GetInt64Default(key string, def int64) int64
SetString(key, value string) error
GetStringDefault(key string, value string) string
GetStringDefault(key string, def string) string
//SetInt(key string, value int) error
//SetInt64(key string, value int64) error
//SetBool(key string, value bool) error
SetString(key string, value string) error
}
func NewHandler(fileService *file.Service, cfg ConfigService) *Handler {