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

14 lines
261 B
Go
Raw Normal View History

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
}