MCPcopy
hub / github.com/gofiber/fiber / ensureStorage

Method ensureStorage

shared_state.go:275–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273}
274
275func (s *SharedState) ensureStorage() error {
276 if s == nil || s.storage == nil {
277 return ErrSharedStorageNotConfigured
278 }
279
280 return nil
281}
282
283func (s *SharedState) setEncodedWithContext(
284 ctx context.Context,

Callers 15

SetWithContextMethod · 0.95
GetWithContextMethod · 0.95
SetJSONWithContextMethod · 0.95
GetJSONWithContextMethod · 0.95
SetMsgPackWithContextMethod · 0.95
GetMsgPackWithContextMethod · 0.95
SetCBORWithContextMethod · 0.95
GetCBORWithContextMethod · 0.95
SetXMLWithContextMethod · 0.95
GetXMLWithContextMethod · 0.95
DeleteWithContextMethod · 0.95
HasWithContextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected