_es

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EsPS

type EsPS struct {
	EsUrl  helpers.FlagHelper
	Config *elasticsearch.Config
	Client *elasticsearch.Client
	// contains filtered or unexported fields
}

func NewEsPS

func NewEsPS() *EsPS

func (*EsPS) GetClient

func (this *EsPS) GetClient() *elasticsearch.Client

func (*EsPS) GetConfig

func (this *EsPS) GetConfig() *elasticsearch.Config

func (*EsPS) GetIndex

func (this *EsPS) GetIndex() string

func (*EsPS) GetIndexPrefix

func (this *EsPS) GetIndexPrefix() string

func (*EsPS) HandleCommand

func (this *EsPS) HandleCommand(cmd *cli.Command) error

func (*EsPS) HandleContext

func (this *EsPS) HandleContext(cCtx *cli.Context) error

func (*EsPS) SetCategory

func (this *EsPS) SetCategory(category string) *EsPS

func (*EsPS) SetPrefix

func (this *EsPS) SetPrefix(prefix string) *EsPS

Jump to

Keyboard shortcuts

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