bleve

package
v0.0.0-...-9bdf5c2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

-build

Index

Constants

View Source
const DOC_TYPE string = "message"

Variables

This section is empty.

Functions

This section is empty.

Types

type Bleve

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

Structure that used to encapsulate all work with bleve in a single object

func NewBleveStorage

func NewBleveStorage() *Bleve

Returns object to work with bleve

func (*Bleve) HandleMessage

func (b *Bleve) HandleMessage(msg *gelf.Message)

Handles GELF-message received through UDP

func (*Bleve) PeriodicFlush

func (b *Bleve) PeriodicFlush(die chan bool)

Periodically flushes messages to bleve index

Jump to

Keyboard shortcuts

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