listener

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(connInfo string) error

Init initializes a PostgreSQL listener.

func Listen

func Listen(req *events.WatchRequest, fn func(e *events.Event) error) error

Listen listens for incoming events.

func RemoveHandlers

func RemoveHandlers(req *events.WatchRequest) error

RemoveHandlers removes the registered handlers for given watch request

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL