datasource

package
v0.0.0-...-f8a11b1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElasticSearchOut

func ElasticSearchOut(targetSource string, targetSet string, docs []map[string]interface{}, idColumn string)

func GetESClient

func GetESClient(name string) (*elasticsearch.Client, error)

func GetMysqlClient

func GetMysqlClient(name string) (*sql.DB, error)

func QueryForMapSlice

func QueryForMapSlice(db *sql.DB, query string) []map[string]string

func Stdout

func Stdout(targetSource string, targetSet string, docs []map[string]interface{}, idColumn string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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