Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresEventStorage ¶
type PostgresEventStorage struct {
// contains filtered or unexported fields
}
PostgresEventStorage is an implementation of the event storage interface that uses a postgres database to store the data
func NewPostgresEventStorage ¶
func NewPostgresEventStorage(cfg db.Config) (*PostgresEventStorage, error)
NewPostgresEventStorage creates and initializes an instance of PostgresEventStorage
func (*PostgresEventStorage) Close ¶
func (p *PostgresEventStorage) Close() error
Close closes the database connection
Click to show internal directories.
Click to hide internal directories.