job

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeInvertedIndexDay2Month

func MergeInvertedIndexDay2Month(ctx context.Context) (err error)

MergeInvertedIndexDay2Month 增量合并全量, 合并到这个月,这周的数据就会删掉,下一个周增量又开始了

func MergeInvertedIndexMonth2Season

func MergeInvertedIndexMonth2Season(ctx context.Context) (err error)

MergeInvertedIndexMonth2Season 增量合并全量, 合并完就会删掉原有的,合并到这个季度

func RegisterJob

func RegisterJob(ctx context.Context)

Types

type Command

type Command struct {
	Name    string
	Exec    func(ctx context.Context) error
	Context context.Context
	// contains filtered or unexported fields
}

func (*Command) Run

func (cmd *Command) Run()

Jump to

Keyboard shortcuts

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