search_config

package
v1.0.1-0...-5011f7a Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 1 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 {
	InMemory     bool          `yaml:"in_memory"`
	Paths        PathsConfig   `yaml:"paths"`
	InitialDelay time.Duration `yaml:"initial_delay"`
	ScanInterval time.Duration `yaml:"scan_interval"`
}

func DefaultConfig

func DefaultConfig() Config

type PathsConfig

type PathsConfig struct {
	// Where to save index data.
	Data string `yaml:"data"`
}

func DefaultPathsConfig

func DefaultPathsConfig() PathsConfig

Jump to

Keyboard shortcuts

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