es

package
v0.0.0-...-1de31e0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler struct for es forwarding

func NewHandler

func NewHandler(URL, esType string) (*Handler, error)

NewHandler creates a new handler

func (Handler) Handle

func (h Handler) Handle(m *nats.Msg)

Handle http handler

func (Handler) TestEndpoint

func (h Handler) TestEndpoint() error

TestEndpoint test that the elastic search endpoint is reachable and sane

Jump to

Keyboard shortcuts

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