Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStore ¶
type PostgresStore struct {
// contains filtered or unexported fields
}
func NewPostgresStore ¶
func NewPostgresStore(dburl string, logger *log.Logger) (*PostgresStore, error)
func (*PostgresStore) Close ¶
func (ps *PostgresStore) Close() error
Close closes the database connection
func (*PostgresStore) InsertMessage ¶
func (ps *PostgresStore) InsertMessage(msg *model.Message) error
Click to show internal directories.
Click to hide internal directories.