Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDC ¶
type CDC struct {
// contains filtered or unexported fields
}
A CDC represents a struct of cdc iterator.
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
An Iterator represents a struct of iterator.
type Position ¶
type Position struct { // Mode represents current iterator mode. IteratorMode mode `json:"mode"` // CreatedAt is the Unix time from which the system should receive events of the resource in the CDC iterator. CreatedAt int64 `json:"created_at"` // Cursor is the resource or event identifier for receiving shifted data in the following requests. Cursor string `json:"cursor"` // Index is the current index of the returning record from the batch of previously received resources. Index int `json:"index"` }
Position represents Oracle position.
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
A Snapshot represents a struct of snapshot iterator.
func NewSnapshot ¶
NewSnapshot initializes snapshot iterator.
Click to show internal directories.
Click to hide internal directories.