MCPcopy Create free account

hub / github.com/dataddo/pgq / types & classes

Types & classes36 in github.com/dataddo/pgq

StructBuilder
Builder is a helper for building SQL queries with named parameters (jmoiron/sqlx and psql style for the moment)
internal/query/query_builder.go:10
StructConsumer
Consumer is the preconfigured subscriber of the write input messages
consumer.go:137
FuncTypeConsumerOption
ConsumerOption applies option to consumerConfig.
consumer.go:147
StructHandler
example_consumer_test.go:16
StructInvalidMessage
InvalidMessage is definition of invalid message used as argument for InvalidMessageCallback by Consumer.
consumer.go:130
FuncTypeInvalidMessageCallback
InvalidMessageCallback defines what should happen to messages which are identified as invalid. Such messages usually have missing or malformed require
consumer.go:127
InterfaceMessageHandler
MessageHandler handles message received from queue. Returning false means message wasn't processed correctly and shouldn't be acknowledged. Error cont
consumer.go:65
FuncTypeMessageHandlerFunc
MessageHandlerFunc is MessageHandler implementation by simple function.
consumer.go:70
StructMessageIncoming
MessageIncoming is a record retrieved from table queue in Postgres
message.go:76
StructMessageOutgoing
MessageOutgoing is a record to be inserted into table queue in Postgres
message.go:65
TypeAliasMetadata
Metadata is message Metadata definition.
message.go:18
StructMetadataFilter
MetadataFilter is a filter for metadata. Right now support only direct matching of key/value
consumer.go:240
TypeAliasMetadataOperation
MetadataFilter is a filter for metadata. Right now support only direct matching of key/value
consumer.go:238
StructPayloadStruct
example_publisher_test.go:13
InterfacePublisher
Publisher publishes messages to Postgres queue.
publisher.go:24
FuncTypePublisherOption
PublisherOption configures the publisher. Multiple options can be passed to NewPublisher. Options are applied in the order they are given. The last op
publisher.go:36
StructStmtParams
StmtParams is a helper for generating prepared statement parameters, i.e. $1, $2, $3, ...
internal/pg/pg.go:10
Structargs
consumer_test.go:14
Structargs
errors_test.go:45
Structargs
publisher_test.go:13
StructconsumerConfig
consumerConfig contains consumer configuration.
consumer.go:78
Interfaceexecer
consumer.go:711
StructfatalError
consumer.go:33
Structfields
message_test.go:12
InterfacelegacyPGError
legacyPGError is an interface used by previous versions of github.com/lib/pq. It is provided only to support legacy code. New code should use the pgEr
errors.go:21
StructlegacyPGErrorImplementation
errors_test.go:9
Structmetrics
consumer.go:289
InterfacepgError
errors.go:14
StructpgErrorImplementation
errors_test.go:27
StructpgMessage
consumer.go:515
Structpublisher
publisher.go:18
StructpublisherConfig
publisher.go:28
StructregularHandler
integtest/consumer_test.go:354
StructslowHandler
integtest/consumer_test.go:353
StructtbWriter
integtest/consumer_test.go:367
Structwant
integtest/publisher_test.go:23