elastic

package
v0.0.0-...-e29b48a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB DB

func NewDB

func NewDB(session *dbr.Session) *DB

NewDB NewDB

func (*DB) Insert

func (d *DB) Insert(model *IndexerErrorModel) error

Insert Insert

type IndexerErrorModel

type IndexerErrorModel struct {
	Index      string
	Action     string
	DocumentID string
	Body       string
	Error      string
	db.BaseModel
}

IndexerErrorModel IndexerErrorModel

type Service

type Service struct {
	log.Log
	// contains filtered or unexported fields
}

Service Service

func NewService

func NewService(ctx *config.Context) *Service

NewService NewService

func (*Service) PushMessageElasticIndexTask

func (s *Service) PushMessageElasticIndexTask(resps []msgResp)

PushMessageElasticIndexTask 创建消息索引的任务

func (*Service) Route

func (s *Service) Route(r *xohttp.XOHttp)

Route Route

Jump to

Keyboard shortcuts

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