elasticsearch

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const IndexTemplate string = `` /* 2958-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Hosts           []string `yaml:"hosts"`
	IndexPrefix     string   `yaml:"index"`
	IndexType       string   `yaml:"index_type"`
	Timeout         int      `yaml:"timeout"`
	GzipEnabled     bool     `yaml:"gzip_enabled"`
	InfoLogEnabled  bool     `yaml:"info_log_enabled"`
	ErrorLogEnabled bool     `yaml:"error_log_enabled"`
}

type DevNull added in v0.0.3

type DevNull struct{}

Dummy discard, satisfies io.Writer without importing io or os.

func (DevNull) Write added in v0.0.3

func (DevNull) Write(p []byte) (int, error)

type ESServer

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

func (*ESServer) Init

func (e *ESServer) Init(config yaml.MapSlice, b buffer.Sender) error

func (*ESServer) Start

func (es *ESServer) Start() error

func (*ESServer) Stop

func (es *ESServer) Stop() error

func (*ESServer) ValidateConfig added in v0.0.2

func (e *ESServer) ValidateConfig(config *Config) error

type Indexer

type Indexer struct {
	RateCounter *ratecounter.RateCounter
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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