Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Templates map[string]string `json:"templates,omitempty"` CmsConfig CmsConfig `json:"cmsConfig"` UpdateDotlanOnEvents []messagebroker.MatchEvent `json:"updateDotlanOnEvents"` }
type ConfigClient ¶
type ConfigClient interface {
GetConfig() *Config
}
func NewConfigClient ¶
func NewConfigClient() (ConfigClient, error)
func NewConfigFile ¶
func NewConfigFile(ctx context.Context, filename, templatesDirectory string) (ConfigClient, error)
type ConfigClientImpl ¶
type ConfigClientImpl struct {
// contains filtered or unexported fields
}
func (ConfigClientImpl) GetConfig ¶
func (c ConfigClientImpl) GetConfig() *Config
TODO: Implement client for config service
type ConfigFileImpl ¶
type ConfigFileImpl struct {
// contains filtered or unexported fields
}
func (*ConfigFileImpl) GetConfig ¶
func (c *ConfigFileImpl) GetConfig() *Config
Click to show internal directories.
Click to hide internal directories.