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

Method Get

singleton/singleton.go:23–23  ·  view source on GitHub ↗

Return the encapsulated singleton

()

Source from the content-addressed store, hash-verified

21type Singleton interface {
22 // Return the encapsulated singleton
23 Get() (interface{}, error)
24}
25
26// Call to create a new singleton that is instantiated with the given init function.

Callers 1

TestGetMethod · 0.65

Implementers 15

LRUCachecontainer/lrucache/lrucache.go
mapImpcontainer/concurrent/map.go
concurrentLruCacheImpcontainer/concurrent/lrucache.go
lockingMapcontainer/concurrent/lockstore/map.go
MockClientmemcache/mock_client.go
RawBinaryClientmemcache/raw_binary_client.go
ShardedClientmemcache/sharded_client.go
RawAsciiClientmemcache/raw_ascii_client.go
v4EventParserMapdatabase/binlog/event_parser.go
singletonImplsingleton/singleton.go
connectionPoolImplnet2/base_connection_pool.go
SimplePoolnet2/http2/simple_pool.go

Calls

no outgoing calls

Tested by 1

TestGetMethod · 0.52