Documentation
¶
Overview ¶
Package repository contains repositories for entities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageBatch ¶
MessageBatch represents behavior of batch for message entity
type MessageRepository ¶
type MessageRepository interface { NewBatch() MessageBatch SendBatch(context.Context, MessageBatch) error }
MessageRepository represents behavior for message entity repository
func NewPostgresMessageRepository ¶
func NewPostgresMessageRepository(p *pgxpool.Pool) MessageRepository
NewPostgresMessageRepository builds new postgres repository for Message
Click to show internal directories.
Click to hide internal directories.