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

Method GetWithContext

middleware/session/middleware_test.go:688–690  ·  view source on GitHub ↗
(ctx context.Context, _ string)

Source from the content-addressed store, hash-verified

686type contextStorage struct{}
687
688func (*contextStorage) GetWithContext(ctx context.Context, _ string) ([]byte, error) {
689 return nil, ctx.Err() //nolint:wrapcheck // test stub returns ctx.Err() verbatim
690}
691
692func (*contextStorage) Get(string) ([]byte, error) { return nil, nil }
693

Callers

nothing calls this directly

Calls 1

ErrMethod · 0.65

Tested by

no test coverage detected