Versions in this module Expand all Collapse all v0 v0.1.0 Jul 3, 2024 Changes in this version + type ClickhouseEngine string + const Log + const Memory + const MergeTree + const StripeLog + const TinyLog + type Config struct + Clean bool + Database string + Debug bool + Debugf func(format string, v ...any) + Engine ClickhouseEngine + Host string + Password string + Port int + TLSConfig *tls.Config + Table string + Username string + type Storage struct + func New(configuration Config) (*Storage, error) + func (s *Storage) Close() error + func (s *Storage) Delete(key string) error + func (s *Storage) Get(key string) ([]byte, error) + func (s *Storage) Reset() error + func (s *Storage) Set(key string, value []byte, expiration time.Duration) error