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

Method Set

middleware/cache/cache_test.go:160–162  ·  view source on GitHub ↗
(key string, val []byte, exp time.Duration)

Source from the content-addressed store, hash-verified

158}
159
160func (s *failingCacheStorage) Set(key string, val []byte, exp time.Duration) error {
161 return s.SetWithContext(context.Background(), key, val, exp)
162}
163
164func (s *failingCacheStorage) DeleteWithContext(_ context.Context, key string) error {
165 s.mu.Lock()

Callers

nothing calls this directly

Calls 1

SetWithContextMethod · 0.95

Tested by

no test coverage detected