62886dbba8
Remove Job * removejob * rmjob * sync * cleanup * precommit * startslow * startslow * startslow * openapi * clean * test * scripts * littlecleanercmds * mermaid
14 lines
261 B
Go
14 lines
261 B
Go
package clientsync
|
|
|
|
type ClientSyncConfig struct {
|
|
ClientSyncURL string `env:"CLIENT_SYNC_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *ClientSyncConfig) GetClientSyncURL() string {
|
|
return c.ClientSyncURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetClientSyncURL() string
|
|
}
|