Documentation
¶
Index ¶
- type Storage
- func (s *Storage) GetEntityIDs(ctx context.Context, entityType string, storeEntityID string, limit int64) ([]string, string, error)
- func (s *Storage) Read(ctx context.Context, entityType string, entityID string, eventNumber int64) iter.Seq2[es.Event, error]
- func (s *Storage) Register(entityType string, contentTypes ...es.Content) error
- func (s *Storage) StartPublish(ctx context.Context, writer es.Writer) error
- func (s *Storage) Write(ctx context.Context, entityType string, events iter.Seq2[es.Event, error]) error
- type Writer
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 (*Storage) GetEntityIDs ¶
func (*Storage) StartPublish ¶
Click to show internal directories.
Click to hide internal directories.