document

package
v1.1.52 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESActionDocument

type ESActionDocument struct {
	Routing   *string
	Type      EsAction
	IndexName string
	Source    []byte
	ID        []byte
}

func NewDeleteAction

func NewDeleteAction(key []byte, routing *string) ESActionDocument

func NewIndexAction

func NewIndexAction(key []byte, source []byte, routing *string) ESActionDocument

type EsAction

type EsAction string
const (
	Index  EsAction = "Index"
	Delete EsAction = "Delete"
)

Jump to

Keyboard shortcuts

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