Files
query-orchestration/internal/serviceconfig/queue/documentclean/config.go
T

16 lines
313 B
Go
Raw Normal View History

package documentclean
const EnvName = "DOCUMENT_CLEAN_URL"
type DocCleanConfig struct {
DocumentCleanURL string `env:"DOCUMENT_CLEAN_URL,required,notEmpty"`
}
func (c *DocCleanConfig) GetDocumentCleanURL() string {
return c.DocumentCleanURL
}
type ConfigProvider interface {
GetDocumentCleanURL() string
}