693457ce2d
Single Text Queue * notrigger
16 lines
304 B
Go
16 lines
304 B
Go
package documenttext
|
|
|
|
const EnvName = "DOCUMENT_TEXT_URL"
|
|
|
|
type DocTextConfig struct {
|
|
DocumentTextURL string `env:"DOCUMENT_TEXT_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *DocTextConfig) GetDocumentTextURL() string {
|
|
return c.DocumentTextURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetDocumentTextURL() string
|
|
}
|