(key string, v any, ttl time.Duration)
| 142 | } |
| 143 | |
| 144 | func (s *SharedState) SetMsgPack(key string, v any, ttl time.Duration) error { |
| 145 | return s.SetMsgPackWithContext(context.Background(), key, v, ttl) |
| 146 | } |
| 147 | |
| 148 | func (s *SharedState) SetMsgPackWithContext(ctx context.Context, key string, v any, ttl time.Duration) error { |
| 149 | if err := s.ensureStorage(); err != nil { |