// Starts distributed client connected to the given memcache servers.
//
// Each serverAddr must be in the form 'host:port'.
//
// Started client must be stopped via DistributedClient.Stop() call
// when no longer needed.
//
// Use DistributedClient.Start() if you plan dynamically adding/removing servers
// to/from the client. Note that the resuling dynamic client may work
// a bit slower than the static client.
Starts distributed client connected to the given memcache servers.

Each serverAddr must be in the form 'host:port'.

Started client must be stopped via DistributedClient.Stop() call
when no longer needed.

Use DistributedClient.Start() if you plan dynamically adding/removing servers
to/from the client. Note that the resuling dynamic client may work
a bit slower than the static client.
// Starts distributed client connected to the given memcache servers . // // Each serverAddr must be in the form ' host : port ' . // // Started client must be stopped via DistributedClient . Stop () call // when no longer needed . // // Use DistributedClient . Start () if you plan dynamically adding / removing servers // to / from the client . Note that the resuling dynamic client may work // a bit slower than the static client .
func (c *DistributedClient) StartStatic(serverAddrs []string) {
	c.init(false)
	for _, serverAddr := range serverAddrs {
		c.addServer(serverAddr)
	}
}
func ( c * DistributedClient ) StartStatic ( serverAddrs [ ] string ) { c . init ( false ) for _ , serverAddr := range serverAddrs { c . addServer ( serverAddr ) } }
Starts distributed client connected to the given memcache servers.
Starts distributed client connected to the given memcache servers .