Documentation ¶
Index ¶
- type Object
- type Seq
- type Storage
- func (db *Storage[T]) Get(ctx context.Context, key T) (T, io.ReadCloser, error)
- func (db *Storage[T]) Has(ctx context.Context, key T) (T, error)
- func (db *Storage[T]) Match(ctx context.Context, key T) *Seq[T]
- func (db *Storage[T]) Put(ctx context.Context, entity T, val io.ReadCloser) error
- func (db *Storage[T]) Remove(ctx context.Context, key T) error
- func (db *Storage[T]) With(entity T) Object[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.