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