1 // Package lighthouse implements a Postgres daemon for listening to Postgres notification and events 2 // and sending these to a PubSub topic. 3 4 // Lighthouse is configurable using a configmap whose CHANNELS data field specifies what channels to listen 5 // to for events. The data is a comma delimited string. 6 // When the configmap is updated, lighthouse registers the new channels added or removes the channels that 7 // have been removed in the configmap. This means it starts listening to the added channel and stops listening 8 // to the removed channels. 9 package lighthouse 10