Documentation ¶
Overview ¶
Package publisher contains the code to talk to Google Pub/Sub.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
An Option provides additional configuration to the Publisher.
func WithHTTPCounter ¶
WithHTTPCounter uses the given counter to signal if there are any in-flight http requests.
func WithHTTPMux ¶
WithHTTPMux will register handlers in the given ServeMux to accept incoming connections and publish them.
func WithSharedKeys ¶
WithSharedKeys provides a limited degree of authentication between the bridge server and the CDC client.
func WithTopicPrefix ¶
WithTopicPrefix will prepend the given prefix to the table name.
Click to show internal directories.
Click to hide internal directories.