81e7223560
Text Extraction * bases * go * splitting * structure * movetoasync * movetoasync * settinguptrigger * reorder * storevent * standardisepollingvalidation * unittests * fixlint * fixlint * awscfg * generatesample * followthrough * tests * clena * store * externalidcleanup * clientid * local * baseunittests * putobjecttests * tests
16 lines
369 B
Go
16 lines
369 B
Go
package documenttextprocess
|
|
|
|
const EnvName = "DOCUMENT_TEXT_PROCESS_URL"
|
|
|
|
type DocTextProcessConfig struct {
|
|
DocumentTextProcessURL string `env:"DOCUMENT_TEXT_PROCESS_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *DocTextProcessConfig) GetDocumentTextProcessURL() string {
|
|
return c.DocumentTextProcessURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetDocumentTextProcessURL() string
|
|
}
|