Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessagePostgresRepository ¶
type MessagePostgresRepository struct {
// contains filtered or unexported fields
}
func NewMessagePostgresRepository ¶
func NewMessagePostgresRepository() *MessagePostgresRepository
func (*MessagePostgresRepository) ReadMessage ¶
func (repo *MessagePostgresRepository) ReadMessage(id string) (*domain.Message, error)
func (*MessagePostgresRepository) ReadMessages ¶
func (repo *MessagePostgresRepository) ReadMessages() ([]*domain.Message, error)
func (*MessagePostgresRepository) SaveMessage ¶
func (repo *MessagePostgresRepository) SaveMessage(message domain.Message) error
Click to show internal directories.
Click to hide internal directories.