package
0.4.1
Repository: https://github.com/allisson/psqlqueue.git
Documentation: pkg.go.dev

# Functions

NewConfig returns a Config with values loaded from environment variables.
NewLogger returns a configured JSON logger.

# Variables

ErrMessageAlreadyExists is returned when the message already exists.
ErrMessageNotFound is returned when the message is not found.
ErrQueueAlreadyExists is returned when the queue already exists.
ErrQueueNotFound is returned when the queue is not found.
ErrSubscriptionAlreadyExists is returned when the subscription already exists.
ErrSubscriptionNotFound is returned when the subscription is not found.
ErrTopicAlreadyExists is returned when the topic already exists.
ErrTopicNotFound is returned when the topic is not found.

# Structs

Config holds all application configuration data.
HealthCheck entity.
Message entity.
Queue entity.
QueueStats entity.
Subscription entity.
Topic entity.

# Interfaces

HealthCheckRepository is the repository interface for the HealthCheck entity.
HealthCheckService is the service interface for the HealthCheck entity.
MessageRepository is the repository interface for the Message entity.
MessageService is the service interface for the Message entity.
QueueRepository is the repository interface for the Queue entity.
QueueService is the service interface for the Queue entity.
SubscriptionRepository is the repository interface for the Subscription entity.
SubscriptionService is the service interface for the Subscription entity.
TopicRepository is the repository interface for the Topic entity.
TopicService is the service interface for the Topic entity.