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

Method Get

shared_state.go:93–95  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

91}
92
93func (s *SharedState) Get(key string) ([]byte, bool, error) { //nolint:gocritic // Keep unnamed returns for clarity.
94 return s.GetWithContext(context.Background(), key)
95}
96
97// GetWithContext returns a defensive copy of the stored bytes so callers can
98// safely mutate the returned slice without changing the shared value.

Callers 1

Calls 1

GetWithContextMethod · 0.95

Tested by 1