config

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Host             string        `mapstructure:"host"`
	Port             int           `mapstructure:"port"`
	LogLevel         string        `mapstructure:"log_level"`
	ElasticsearchURL string        `mapstructure:"elasticsearch_url"`
	WatcherConfig    watcherConfig `mapstructure:"watcher"`
	certs.TLSConfig  `mapstructure:"tls"`
	BackupsConfig    es.BackupsConfig `mapstructure:"backups"`
}

Service defines the available configuration options for this service

func (*Service) SetLogLevel

func (s *Service) SetLogLevel()

SetLogLevel sets the log level for the service

Jump to

Keyboard shortcuts

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