ReplicaClientFactory is a function that creates a ReplicaClient from URL components. The userinfo parameter contains credentials from the URL (e.g., user:pass@host).
func(scheme, host, urlPath string, query url.Values, userinfo *url.Userinfo) (ReplicaClient, error)
| 12 | // ReplicaClientFactory is a function that creates a ReplicaClient from URL components. |
| 13 | // The userinfo parameter contains credentials from the URL (e.g., user:pass@host). |
| 14 | type ReplicaClientFactory func(scheme, host, urlPath string, query url.Values, userinfo *url.Userinfo) (ReplicaClient, error) |
| 15 | |
| 16 | var ( |
| 17 | replicaClientFactories = make(map[string]ReplicaClientFactory) |
nothing calls this directly
no outgoing calls
no test coverage detected