Documentation ¶ Index ¶ type Storage func NewStorage(appLogger badger.Logger) (*Storage, error) func (s *Storage) Close() error func (s *Storage) Delete(id string) error func (s *Storage) Load(id string, destination any) (bool, error) func (s *Storage) Save(id string, jsonData any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Storage ¶ type Storage struct { // contains filtered or unexported fields } func NewStorage ¶ func NewStorage(appLogger badger.Logger) (*Storage, error) func (*Storage) Close ¶ func (s *Storage) Close() error func (*Storage) Delete ¶ func (s *Storage) Delete(id string) error func (*Storage) Load ¶ func (s *Storage) Load(id string, destination any) (bool, error) func (*Storage) Save ¶ func (s *Storage) Save(id string, jsonData any) error Source Files ¶ View all Source files storage.go Click to show internal directories. Click to hide internal directories.