555b6d420b
Document Result Endpoint * testing * cleantesting * progress * query * lint * readme * dockerclient * api * passtest * tests * test
16 lines
313 B
Go
16 lines
313 B
Go
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
|
|
}
|