config

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 7 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 {
	// contains filtered or unexported fields
}

func New added in v0.2.0

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

func (*Config) Limit added in v0.2.0

func (c *Config) Limit() int

func (*Config) LogDataPath added in v0.2.0

func (c *Config) LogDataPath() string

func (*Config) RetentionSize added in v0.2.0

func (c *Config) RetentionSize() int

func (*Config) RetentionSizingStrategy added in v0.2.0

func (c *Config) RetentionSizingStrategy() string

func (*Config) RetentionTime added in v0.2.0

func (c *Config) RetentionTime() time.Duration

func (*Config) SetLogDataPath added in v0.2.0

func (c *Config) SetLogDataPath(logDataPath string)

func (*Config) SetRetentionSize added in v0.2.0

func (c *Config) SetRetentionSize(retentionSize int)

func (*Config) SetRetentionTime added in v0.2.0

func (c *Config) SetRetentionTime(retentionTime time.Duration)

func (*Config) Timeout added in v0.2.0

func (c *Config) Timeout() time.Duration

func (*Config) Version added in v0.2.0

func (c *Config) Version() string

func (*Config) WebListenAddress added in v0.2.0

func (c *Config) WebListenAddress() string

Jump to

Keyboard shortcuts

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