postgres

package
v0.0.0-...-0c177bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL