MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / DBClient

Method DBClient

application/dependency/dependency.go:65–65  ·  view source on GitHub ↗

DBClient Get a singleton ent.Client instance for database access.

()

Source from the content-addressed store, hash-verified

63 ServerStaticFS() static.ServeFileSystem
64 // DBClient Get a singleton ent.Client instance for database access.
65 DBClient() *ent.Client
66 // KV Get a singleton cache.Driver instance for KV store.
67 KV() cache.Driver
68 // NavigatorStateKV Get a singleton cache.Driver instance for navigator state store. It forces use in-memory

Callers 2

masterkey.goFile · 0.65
StartMethod · 0.65

Implementers 1

dependencyapplication/dependency/dependency.go

Calls

no outgoing calls

Tested by

no test coverage detected