PHP » GoLang |
login |
register |
about
|
GoLang Memcached::addServer
request it (366)
GoLang replacement for PHP's Memcached::addServer
[edit | history]
Memcached::addServer(PECL memcached >= 0.1.0) Memcached::addServer — Add a server to the server pool Description
public bool Memcached::addServer
( string
$host
, int $port
[, int $weight = 0
] )
Memcached::addServer() adds the specified server to the
server pool. No connection is established to the server at this time, but
if you are using consistent key distribution option (via
The same server may appear multiple times in the server pool, because no
duplication checks are made. This is not advisable; instead, use the
Parameters
Return Values
Returns Examples
Example #1 Memcached::addServer() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|