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

github.com/elastic/go-elasticsearch/_examples

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/elastic/go-elasticsearch/_examples

  • v0.0.0-20240208153405-a38be6ff5c0a
  • Source
  • Go
  • Socket score

Version published
Created
Source

This directory contains examples and recipes for the Elasticsearch Go client.

Configuration & Customization

The configuration.go and customization.go files contain information for configuring and customizing the client transport.

Logging

The logging directory contains examples for using the default loggers and implementing a custom logger.

Bulk

The bulk directory contains a comprehensive example of using the Bulk API.

Encoding

The encoding directory contains examples of using third-party packages and client helper methods for a more efficient encoding and decoding of the request and response bodies.

Fast HTTP

The fasthttp directory contains a demonstration of replacing the default client transport with an HTTP client from the github.com/valyala/fasthttp package.

Instrumentation

The instrumentation directory contains recipes for instrumenting the client with the OpenCensus and Elastic APM packages.

Extension

The extension directory contains an example of extending the client APIs, for example to support custom endpoints installed by a plugin.

Google Cloud Functions

The cloudfunction directory contains a simple web service for checking Elasticsearch cluster status.

The xkcdsearch directory contains a command-line utility for indexing and searching an archive of xkcd.com artworks.

FAQs

Package last updated on 08 Feb 2024

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