Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresNotificationListener ¶
type PostgresNotificationListener struct {
// contains filtered or unexported fields
}
func (*PostgresNotificationListener) Close ¶
func (l *PostgresNotificationListener) Close() error
func (*PostgresNotificationListener) Listen ¶
func (l *PostgresNotificationListener) Listen(channel string) error
func (*PostgresNotificationListener) Notify ¶
func (l *PostgresNotificationListener) Notify() <-chan struct{}
func (*PostgresNotificationListener) RetrieveAll ¶
func (l *PostgresNotificationListener) RetrieveAll() []string
type PostgresQueue ¶
type PostgresQueue[T any] struct { // contains filtered or unexported fields }
func NewPostgresQueue ¶
func (*PostgresQueue[T]) Close ¶
func (q *PostgresQueue[T]) Close() error
func (*PostgresQueue[T]) Notify ¶
func (q *PostgresQueue[T]) Notify() <-chan struct{}
func (*PostgresQueue[T]) RetrieveAll ¶
func (q *PostgresQueue[T]) RetrieveAll() []T
func (*PostgresQueue[T]) Start ¶
func (q *PostgresQueue[T]) Start() error
Click to show internal directories.
Click to hide internal directories.