config

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 2 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 {
	Elasticsearch Elasticsearch `yaml:"elasticsearch"`
	Dcp           config.Dcp    `yaml:",inline"`
}

func (*Config) ApplyDefaults

func (c *Config) ApplyDefaults()

type Elasticsearch

type Elasticsearch struct {
	CollectionIndexMapping map[string]string `yaml:"collectionIndexMapping"`
	MaxConnsPerHost        *int              `yaml:"maxConnsPerHost"`
	MaxIdleConnDuration    *time.Duration    `yaml:"maxIdleConnDuration"`
	TypeName               string            `yaml:"typeName"`
	Urls                   []string          `yaml:"urls"`
	BatchSizeLimit         int               `yaml:"batchSizeLimit"`
	BatchByteSizeLimit     int               `yaml:"batchByteSizeLimit"`
	BatchTickerDuration    time.Duration     `yaml:"batchTickerDuration"`
	CompressionEnabled     bool              `yaml:"compressionEnabled"`
}

Jump to

Keyboard shortcuts

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