MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / setupStore

Method setupStore

pkg/identityserver/store.go:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24)
25
26func (is *IdentityServer) setupStore() error {
27 store.SetPaginationDefaults(store.PaginationDefaults{
28 DefaultLimit: is.config.Pagination.DefaultLimit,
29 })
30 return is.setupBunStore()
31}
32
33func (is *IdentityServer) setupBunStore() (err error) {
34 is.db, err = storeutil.OpenDB(is.Context(), is.config.DatabaseURI)

Callers 1

NewFunction · 0.80

Implementers 5

mockInteroppkg/component/interop_test.go
interopServerpkg/joinserver/http_interop.go
noopServerpkg/interop/server.go
mockTargetpkg/interop/server_test.go
interopServerpkg/identityserver/http_interop.go

Calls 1

setupBunStoreMethod · 0.95

Tested by

no test coverage detected