Documentation
¶
Index ¶
- Constants
- func NewDestination() sdk.Destination
- type Destination
- func (d *Destination) Configure(ctx context.Context, cfg map[string]string) error
- func (d *Destination) Open(ctx context.Context) error
- func (d *Destination) Parameters() map[string]sdk.Parameter
- func (d *Destination) Teardown(ctx context.Context) error
- func (d *Destination) Write(ctx context.Context, recs []sdk.Record) (int, error)
Constants ¶
View Source
const ( ConfigURL = "url" ConfigTable = "table" ConfigKey = "key" // TODO same constant is defined in packages longpoll, logrepl and destination // use same constant everywhere MetadataPostgresTable = "postgres.table" )
Variables ¶
This section is empty.
Functions ¶
func NewDestination ¶
func NewDestination() sdk.Destination
Types ¶
type Destination ¶
type Destination struct {
sdk.UnimplementedDestination
// contains filtered or unexported fields
}
func (*Destination) Parameters ¶ added in v0.3.0
func (d *Destination) Parameters() map[string]sdk.Parameter
Click to show internal directories.
Click to hide internal directories.