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

Method Has

shared_state.go:233–235  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

231}
232
233func (s *SharedState) Has(key string) (bool, error) {
234 return s.HasWithContext(context.Background(), key)
235}
236
237func (s *SharedState) HasWithContext(ctx context.Context, key string) (bool, error) {
238 if err := s.ensureStorage(); err != nil {

Callers 1

Calls 1

HasWithContextMethod · 0.95

Tested by 1