MCPcopy
hub / github.com/tinode/chat / Close

Method Close

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

Close the adapter

()

Source from the content-addressed store, hash-verified

18 Open(config json.RawMessage) error
19 // Close the adapter
20 Close() error
21 // IsOpen checks if the adapter is ready for use
22 IsOpen() bool
23 // GetDbVersion returns current database version.

Callers 15

mainFunction · 0.65
closeWSMethod · 0.65
initVideoCallsFunction · 0.65
pluginsShutdownFunction · 0.65
largeFileServeHTTPFunction · 0.65
LargeFileServeMethod · 0.65
LargeFileReceiveMethod · 0.65
reconnectMethod · 0.65
callMethod · 0.65
handleRpcResponseMethod · 0.65
shutdownMethod · 0.65
mainFunction · 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 15

TestUserCreateFunction · 0.52
TestTopicCreateP2PFunction · 0.52
TestUserUpdateFunction · 0.52
TestCredFailFunction · 0.52
TestCredConfirmFunction · 0.52
TestAuthUpdRecordFunction · 0.52
TestTopicUpdateOnMessageFunction · 0.52
TestTopicUpdateFunction · 0.52
TestTopicUpdateSubCntFunction · 0.52
TestTopicOwnerChangeFunction · 0.52
TestSubsUpdateFunction · 0.52
TestSubsDeleteFunction · 0.52