Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/weihongguo/gglmm-elasticsearch

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/weihongguo/gglmm-elasticsearch

  • v0.0.0-20200518133217-92402df2aba8
  • Source
  • Go
  • Socket score

Version published
Created
Source

gglmm-elasticsearch

依赖

  • github.com/elastic/go-elasticsearch/v7

使用方法

type Client struct {
	esClient *es7.Client
}
func NewClient(config es7.Config) *Client
func (client *Client) Index(index string, id string, doc interface{}) (*IndexResponse, error)
func (client *Client) Create(index string, id string, doc interface{}) (*IndexResponse, error)
func (client *Client) Update(index string, id string, doc interface{}) (*IndexResponse, error)
func (client *Client) Get(index string, id string, response interface{}) error
func (client *Client) Delete(index string, id string) (*IndexResponse, error)
func (client *Client) Search(index string, query interface{}, response interface{}) error

FAQs

Package last updated on 18 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc