gateway

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkAction

type BulkAction struct {
	ActionType string
	Metadata   map[string]interface{}
	Document   map[string]interface{}
}

func (*BulkAction) ToStringArray

func (bulkAction *BulkAction) ToStringArray() []string

type ESGateway

type ESGateway struct {
	Engine   *gin.Engine
	Address  string
	User     string
	Password string

	SourceES es.ES
	TargetES es.ES

	MasterES es.ES
	SlaveES  es.ES
}

func NewESGateway

func NewESGateway(cfg *config.Config) (*ESGateway, error)

func (*ESGateway) Run

func (gateway *ESGateway) Run()

Jump to

Keyboard shortcuts

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