add clickable notification
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user