555b6d420b
Document Result Endpoint * testing * cleantesting * progress * query * lint * readme * dockerclient * api * passtest * tests * test
16 lines
296 B
Go
16 lines
296 B
Go
package clientsync
|
|
|
|
const EnvName = "CLIENT_SYNC_URL"
|
|
|
|
type ClientSyncConfig struct {
|
|
ClientSyncURL string `env:"CLIENT_SYNC_URL,required,notEmpty"`
|
|
}
|
|
|
|
func (c *ClientSyncConfig) GetClientSyncURL() string {
|
|
return c.ClientSyncURL
|
|
}
|
|
|
|
type ConfigProvider interface {
|
|
GetClientSyncURL() string
|
|
}
|