config

package
v0.0.0-...-a8b8e24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

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