ESClient

package
v0.0.0-...-c1e50d4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenetateUUID

func GenetateUUID() string

func GetProecessName

func GetProecessName() string

Types

type ESClient

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

func NewES

func NewES(host string) *ESClient

func (*ESClient) Fini

func (this *ESClient) Fini() error

func (*ESClient) Init

func (this *ESClient) Init() error

func (*ESClient) Push

func (this *ESClient) Push(data interface{}) error

type ESParam

type ESParam struct {
	Index string      //索引
	Typ   string      //类型
	Value interface{} //数据
}

type SyncClient

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

func NewSyncClient

func NewSyncClient() *SyncClient

func (*SyncClient) Init

func (this *SyncClient) Init() error

func (*SyncClient) Insert

func (this *SyncClient) Insert() error

Jump to

Keyboard shortcuts

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