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

Method SetXML

shared_state.go:192–194  ·  view source on GitHub ↗
(key string, v any, ttl time.Duration)

Source from the content-addressed store, hash-verified

190}
191
192func (s *SharedState) SetXML(key string, v any, ttl time.Duration) error {
193 return s.SetXMLWithContext(context.Background(), key, v, ttl)
194}
195
196func (s *SharedState) SetXMLWithContext(ctx context.Context, key string, v any, ttl time.Duration) error {
197 if err := s.ensureStorage(); err != nil {

Callers 1

Calls 1

SetXMLWithContextMethod · 0.95

Tested by 1