writer

package
v0.0.0-...-69f0413 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 17 Imported by: 7

Documentation

Index

Constants

View Source
const (
	INDEX = iota
	CREATE
	UPDATE
	DELETE
)
View Source
const CREATE_TOP_STR string = "create"
View Source
const INDEX_TOP_STR string = "index"
View Source
const INDEX_UNDER_STR string = "_index"
View Source
const UPDATE_TOP_STR string = "update"

Variables

This section is empty.

Functions

func AddAndGetRealIndexName

func AddAndGetRealIndexName(indexNameIn string, localIndexMap map[string]string, myid uint64) string

func HandleBulkBody

func HandleBulkBody(postBody []byte, ctx *fasthttp.RequestCtx, myid uint64, kibanaIngHandlerFn kibanaIngHandlerFnDef) (int, map[string]interface{}, error)

func PostBulkErrorResponse

func PostBulkErrorResponse(ctx *fasthttp.RequestCtx)

func ProcessBulkRequest

func ProcessBulkRequest(ctx *fasthttp.RequestCtx, myid uint64, kibanaIngHandlerFn kibanaIngHandlerFnDef)

func ProcessGetAlias

func ProcessGetAlias(ctx *fasthttp.RequestCtx, myid uint64)

func ProcessGetAllAliases

func ProcessGetAllAliases(ctx *fasthttp.RequestCtx, myid uint64)

func ProcessGetIndexAlias

func ProcessGetIndexAlias(ctx *fasthttp.RequestCtx, myid uint64)

func ProcessIndexAliasExist

func ProcessIndexAliasExist(ctx *fasthttp.RequestCtx, myid uint64)

func ProcessIndexRequest

func ProcessIndexRequest(rawJson []byte, tsNow uint64, indexNameIn string,
	bytesReceived uint64, flush bool, localIndexMap map[string]string, myid uint64) error

func ProcessPostAliasesRequest

func ProcessPostAliasesRequest(ctx *fasthttp.RequestCtx, myid uint64)

func ProcessPutAliasesRequest

func ProcessPutAliasesRequest(ctx *fasthttp.RequestCtx, myid uint64)

func ProcessPutIndex

func ProcessPutIndex(ctx *fasthttp.RequestCtx, myid uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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