config

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterStorageConfig

func RegisterStorageConfig(i do.Injector)

RegisterStorageConfig registers an *objectstorage.Config with the injector, extracted from the parent *Config. Prerequisite: *Config must be registered in the injector before calling this.

Types

type Config

type Config struct {
	Storage objectstorage.Config `envPrefix:"STORAGE_" json:"storageConfig"`
	Debug   bool                 `env:"DEBUG"          json:"debug"`
	// contains filtered or unexported fields
}

Config contains settings regarding search indices.

func (*Config) ValidateWithContext

func (cfg *Config) ValidateWithContext(ctx context.Context) error

ValidateWithContext validates a Config struct.

Jump to

Keyboard shortcuts

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