kanban dashboard refactor
This commit is contained in:
@@ -22,6 +22,7 @@ type Config struct {
|
||||
CustomerAuth AuthConfig
|
||||
DocumentScraper DocumentScraperConfig
|
||||
AISummarizer AISummarizerConfig
|
||||
GoRules GoRulesConfig
|
||||
}
|
||||
|
||||
type ScraperConfig struct {
|
||||
@@ -77,3 +78,11 @@ type AISummarizerConfig struct {
|
||||
MinioRegion string `env:"AI_SUMMARIZER_MINIO_REGION" envDefault:"us-east-1"`
|
||||
MinioBucket string `env:"AI_SUMMARIZER_MINIO_BUCKET" envDefault:"opplens-documents"`
|
||||
}
|
||||
|
||||
// GoRulesConfig holds configuration for the GoRules status engine.
|
||||
type GoRulesConfig struct {
|
||||
BaseURL string `env:"GORULES_BASE_URL"`
|
||||
Token string `env:"GORULES_TOKEN"`
|
||||
RuleID string `env:"GORULES_RULE_ID"`
|
||||
Timeout time.Duration `env:"GORULES_TIMEOUT"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user