Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoderValue ¶
type DecoderValue interface { pgtype.TextDecoder pgtype.Value }
type RelationSet ¶
type RelationSet struct {
// contains filtered or unexported fields
}
func NewRelationSet ¶
func NewRelationSet() *RelationSet
func (*RelationSet) Add ¶
func (rs *RelationSet) Add(r Relation)
type Subscription ¶
type Subscription struct { Name string Publication string WaitTimeout time.Duration StatusTimeout time.Duration CopyData bool }
func NewSubscription ¶
func NewSubscription(name, publication string) *Subscription
func (*Subscription) Start ¶
func (s *Subscription) Start(ctx context.Context, conn *pgx.ReplicationConn, h Handler) error
Click to show internal directories.
Click to hide internal directories.