2024-06-27 12:03:43 +00:00
|
|
|
package config
|
|
|
|
|
2024-06-28 13:30:00 +00:00
|
|
|
import (
|
|
|
|
"html/template"
|
|
|
|
|
|
|
|
"github.com/alexedwards/scs/v2"
|
|
|
|
)
|
2024-06-27 12:03:43 +00:00
|
|
|
|
|
|
|
// AppConfig holds the application config
|
|
|
|
type AppConfig struct {
|
|
|
|
TemplateCahce map[string]*template.Template
|
|
|
|
UseCache bool
|
2024-06-28 13:30:00 +00:00
|
|
|
InProduction bool
|
|
|
|
Session *scs.SessionManager
|
2024-06-27 12:03:43 +00:00
|
|
|
}
|