config

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Address:   "127.0.0.1:15170",
	Namespace: []string{},

	TimestampField:  "@timestamp",
	TimestampFormat: time.RFC3339,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Address   string   `config:"address"`
	Namespace []string `config:"namespace"`

	TimestampField  string `config:"timestamp_field"`
	TimestampFormat string `config:"timestamp_format"`
}

Jump to

Keyboard shortcuts

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