config

package
v0.0.0-...-0aed6fc Latest Latest
Warning

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

Go to latest
Published: May 29, 2014 License: GPL-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SYS_VER        string
	SYS_BUILD_VER  string
	SYS_BUILD_DATE string
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen        string
	Expires       time.Duration
	Nodes         []string
	Port          string
	IndicePattern string
	EsType        string
	TagField      string
	TimeField     string
	MaxDocs       int
	AutoDisc      bool
	SyncInterval  time.Duration
}

func Parse

func Parse() *Config

func (*Config) Indice

func (c *Config) Indice() string

Jump to

Keyboard shortcuts

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