emit

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Elasticsearch

type Elasticsearch struct {
	Config *gachifinder.Config
	// contains filtered or unexported fields
}

Elasticsearch struct

func (*Elasticsearch) Close

func (e *Elasticsearch) Close()

Close to release Elasticsearch Client.

func (*Elasticsearch) Connect

func (e *Elasticsearch) Connect() error

Connect to Elasticsearch & Create index.

func (*Elasticsearch) Write

func (e *Elasticsearch) Write(dc <-chan gachifinder.GachiData) error

Write the data into the Elasticsearch.

Jump to

Keyboard shortcuts

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