MCPcopy Index your code
hub / github.com/tinode/chat / IsOpen

Method IsOpen

server/db/adapter.go:22–22  ·  view source on GitHub ↗

IsOpen checks if the adapter is ready for use

()

Source from the content-addressed store, hash-verified

20 Close() error
21 // IsOpen checks if the adapter is ready for use
22 IsOpen() bool
23 // GetDbVersion returns current database version.
24 GetDbVersion() (int, error)
25 // CheckDbVersion checks if the actual database version matches adapter version.

Callers 5

mainFunction · 0.65
initFunction · 0.65
initFunction · 0.65
initFunction · 0.65
initFunction · 0.65

Implementers 4

adapterserver/db/mongodb/adapter.go
adapterserver/db/postgres/adapter.go
adapterserver/db/rethinkdb/adapter.go
adapterserver/db/mysql/adapter.go

Calls

no outgoing calls

Tested by 4

initFunction · 0.52
initFunction · 0.52
initFunction · 0.52
initFunction · 0.52