dbtoes

package
v2.1.43 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default added in v2.1.26

func Default(ctx context.Context, esManager *esclientv7.Manager, index string, lastId uint64, esDataListFunc func(lastId uint64, limit int) (uint64, []any, error)) error

func TimePeriod

func TimePeriod(ctx context.Context, esManager *esclientv7.Manager, index string, lastTime time.Time, lastId uint64, esDataListFunc func(lastTime time.Time, lastId uint64, limit int) (time.Time, uint64, []any, error)) error

func TimePeriodRetry added in v2.1.27

func TimePeriodRetry(ctx context.Context, esManager *esclientv7.Manager, index string, lastTime time.Time, lastId uint64, esDataListFunc func(lastTime time.Time, lastId uint64, limit int) (time.Time, uint64, []any, error), retryTimes uint8) error

Types

type ESCommonItem

type ESCommonItem interface {
	GetDocId() string
}

Jump to

Keyboard shortcuts

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