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

14 lines
267 B
Go
Raw Normal View History

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
}