Documentation ¶
Index ¶
Constants ¶
View Source
const ( INSERT = "INSERT" UPDATE = "UPDATE" DELETE = "DELETE" )
Variables ¶
View Source
var Event = struct { Entity string Columns []string }{}
Event -
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct { Entity string `json:"entity"` Action string `json:"action"` OldData map[string]interface{} `json:"old_data"` NewData map[string]interface{} `json:"new_data"` }
Notification -
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
Publisher -
func NewPublisher ¶
func NewPublisher(ctx context.Context, url string, sl string, op string, tables []string, logger logger.Interface) (publisher *Publisher, err error)
NewPublisher -
func (*Publisher) CreateReplicationSlotServer ¶
CreateReplicationSlotServer -
Click to show internal directories.
Click to hide internal directories.