elastic

package
v0.0.0-...-750a8a5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

@Description TODO @Author jiangyang @Created 2020/11/26 2:14 下午

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conn

func Conn() *elasticsearch.Client

func Index

func Index(index string, doc map[string]interface{}) error

func Init

func Init(cfg Config)

Types

type Config

type Config struct {
	Address string `json:"address" yaml:"address"`
}

Jump to

Keyboard shortcuts

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