Documentation ¶
Index ¶
- type Repository
- func (r *Repository) Get(ctx context.Context, userId usermodel.UserId) ([]model.Message, error)
- func (r *Repository) GetBatch(ctx context.Context) ([]model.Message, error)
- func (r *Repository) Put(ctx context.Context, msg *model.Message) error
- func (r *Repository) PutBatch(ctx context.Context, batch [](*model.Message)) error
- func (r *Repository) Truncate(ctx context.Context) error
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.