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

Method Add

middleware/cache/cache_test.go:51–55  ·  view source on GitHub ↗
(d time.Duration)

Source from the content-addressed store, hash-verified

49}
50
51func (c *testClock) Add(d time.Duration) {
52 c.mu.Lock()
53 defer c.mu.Unlock()
54 c.now = c.now.Add(d)
55}
56
57type failingCacheStorage struct {
58 data map[string][]byte

Callers

nothing calls this directly

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
AddMethod · 0.65

Tested by

no test coverage detected