conf

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Source     *Source       `yaml:"source"`
	Fluentd    *Fluentd      `yaml:"fluentd"`
	Loki       *Loki         `yaml:"loki"`
	TTL        time.Duration `yaml:"ttl"`
	AuthListen string        `yaml:"auth_listen"`
	WhiteList  []string      `yaml:"whitelist"`
}

func (*Conf) Default

func (c *Conf) Default()

type Fluentd

type Fluentd struct {
	SharedKey string `yaml:"shared_key"`
	Listen    string `yaml:"listen"`
}

type Loki added in v0.3.0

type Loki struct {
	Url      string        `yaml:"url"`
	Query    string        `yaml:"query"`
	DelayFor time.Duration `yaml:"delay_for"`
}

type Source

type Source struct {
	PrefixLines []string `yaml:"prefix_lines"`
}

Jump to

Keyboard shortcuts

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