MCPcopy
hub / github.com/dropbox/godropbox / versionHelper

Method versionHelper

memcache/sharded_client.go:480–493  ·  view source on GitHub ↗
(
	shard int,
	conn net2.ManagedConn)

Source from the content-addressed store, hash-verified

478}
479
480func (c *ShardedClient) versionHelper(
481 shard int,
482 conn net2.ManagedConn) VersionResponse {
483
484 if conn == nil {
485 return NewVersionErrorResponse(
486 c.connectionError(shard, nil),
487 make(map[int]string))
488 }
489 client := c.builder(shard, conn)
490 defer c.release(client, conn)
491
492 return client.Version()
493}
494
495// See Client interface for documentation.
496func (c *ShardedClient) Version() VersionResponse {

Callers 1

VersionMethod · 0.95

Calls 4

connectionErrorMethod · 0.95
releaseMethod · 0.95
NewVersionErrorResponseFunction · 0.85
VersionMethod · 0.65

Tested by

no test coverage detected