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

16 lines
304 B
Go
Raw Normal View History

package documentsync
const EnvName = "DOCUMENT_SYNC_URL"
type DocSyncConfig struct {
DocumentSyncURL string `env:"DOCUMENT_SYNC_URL,required,notEmpty"`
}
func (c *DocSyncConfig) GetDocumentSyncURL() string {
return c.DocumentSyncURL
}
type ConfigProvider interface {
GetDocumentSyncURL() string
}