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

Method Set

shared_state_test.go:96–98  ·  view source on GitHub ↗
(key string, val []byte, exp time.Duration)

Source from the content-addressed store, hash-verified

94}
95
96func (s *contextCheckingStorage) Set(key string, val []byte, exp time.Duration) error {
97 return s.SetWithContext(context.Background(), key, val, exp)
98}
99
100func (s *contextCheckingStorage) Delete(key string) error {
101 return s.DeleteWithContext(context.Background(), key)

Callers

nothing calls this directly

Calls 1

SetWithContextMethod · 0.95

Tested by

no test coverage detected