c1e9d93037
Document Sync and Job Sync * docsyncfunc * startedQueryWork * morefixes * jobsyncsvcstart * save * jobsynctext * save * save * docsync * shorttest * jobsync * jobsyncupdateoncollectorupdate * passlivetest * collectortest * lint
14 lines
267 B
Go
14 lines
267 B
Go
package documentsync
|
|
|
|
type DocSyncConfig struct {
|
|
DocumentSyncURL string `env:"DOCUMENT_SYNC_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *DocSyncConfig) GetDocumentSyncURL() string {
|
|
return c.DocumentSyncURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetDocumentSyncURL() string
|
|
}
|