Versions in this module Expand all Collapse all v1 v1.2.0 Oct 27, 2023 v1.1.1 Oct 27, 2023 v1.1.0 Oct 25, 2023 v1.0.8 Aug 7, 2023 v1.0.7 Jul 20, 2023 v1.0.6 Nov 7, 2022 Changes in this version + func InitTemplateConfig(templateConfigPath string) error + func StartTemplateConfigWatcher(configPath string) error + type AppConfig struct + Port int + Postgres *PGConfig + TemplateConfigPath string + Version string + func (config *AppConfig) ReadEnv() error + func (config *AppConfig) Validate() error + type PGConfig struct + Database string + Host string + Password string + Port int + User string + func (pgConfig *PGConfig) GetDSN() string + type Template struct + ID string + Path string + SupportedProviders []domain.ProviderType + Type domain.TemplateType + type TemplateConfig struct + Templates []Template + func (config *TemplateConfig) ReadYAML(configPath string) error + func (tc *TemplateConfig) Validate() error + type TemplateConfigFactory interface + GetTemplateConfig func() *TemplateConfig + func NewTemplateConfigFactory() TemplateConfigFactory