config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 3 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 {
	ConcurrentLimit    uint                       `yaml:"concurrent_limit" json:"concurrent_limit"`
	Interval           uint                       `yaml:"interval" json:"interval"`                     //second
	PartitionDuration  uint                       `yaml:"partition_duration" json:"partition_duration"` //second
	Retention          uint                       `yaml:"retention" json:"retention"`                   //second
	TimestampPrecision storage.TimestampPrecision `yaml:"accuracy" json:"accuracy"`                     //emun
}

func DefaultConfig

func DefaultConfig() Config

default config value

func (Config) String

func (c Config) String() string

default config

Jump to

Keyboard shortcuts

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