elastic

module
v0.0.0-...-81531ca Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2016 License: Apache-2.0

README

Elasticsearch License Go Report Card

Elasticsearch service with fqdn go.micro.srv.elasticsearch

Elasticsearch API with fqdn go.micro.api.elasticsearch

Perform agnostic CRUD, search and queryDSL operation within elastic search. Set or update elastic search Settings or Mapping.

Getting Started

Prerequisites

Get Micro Micro

go get github.com/micro

Install Consul https://www.consul.io/intro/getting-started/install.html

Run Consul

$ consul agent -dev -advertise=127.0.0.1
Run Service manually
$ go run srv/main.go
Run API manually
$ go run api/main.go
Run docker containers

Compile Go binaries and build docker image.

make 

Run docker container:

docker-compose -f docker-compose-build.yml up

Usage

API

Microservice

Directories

Path Synopsis
api
srv
proto/elastic
Package go_micro_srv_elastic is a generated protocol buffer package.
Package go_micro_srv_elastic is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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