config

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.2.0

type Config struct {
	Version string

	Query     Query
	Retention Retention
	Storage   Storage
	Web       Web
}

func New added in v0.2.0

func New(version string) (*Config, error)

type Query added in v0.2.6

type Query struct {
	Limit   int
	Timeout time.Duration
}

type Retention added in v0.2.6

type Retention struct {
	Size             int64
	Time             time.Duration
	SizeStrategy     string
	RotationInterval time.Duration
}

type Storage added in v0.2.6

type Storage struct {
	LogDataPath string
}

type Web added in v0.2.6

type Web struct {
	ListenAddress string
	GinMode       string
}

Jump to

Keyboard shortcuts

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