sysconfig

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Loggie Loggie `yaml:"loggie"`
}

type Defaults

type Defaults struct {
	Sources      []*source.Config      `yaml:"sources"`
	Queue        *queue.Config         `yaml:"queue"`
	Interceptors []*interceptor.Config `yaml:"interceptors"`
	Sink         *sink.Config          `yaml:"sink"`
}

func (*Defaults) SetDefaults

func (d *Defaults) SetDefaults()

type Http

type Http struct {
	Enabled bool   `yaml:"enabled" default:"false"`
	Host    string `yaml:"host" default:"0.0.0.0"`
	Port    int    `yaml:"port" default:"9196"`
}

type Loggie

type Loggie struct {
	Reload           reloader.ReloadConfig       `yaml:"reload"`
	Discovery        discovery.Config            `yaml:"discovery"`
	Http             Http                        `yaml:"http" validate:"dive"`
	MonitorEventBus  eventbus.Config             `yaml:"monitor"`
	Defaults         Defaults                    `yaml:"defaults"`
	Db               persistence.DbConfig        `yaml:"db"`
	ErrorAlertConfig log.AfterErrorConfiguration `yaml:"errorAlert"`
}

Jump to

Keyboard shortcuts

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