package
Version:
v0.0.0-...-bcff8af
Opens a new window with list of versions in this module.
Published: Nov 11, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ConfJsonPathEnvVar = "CONF_JSON_PATH"
)
type Config struct {
ServerAddress string `json:"serverAddress" default:":8080"`
LogLevel string `json:"logLevel" default:"debug"`
IndexDataDir string `json:"indexDataDir" default:"/tmp/data"`
MaxSearchResults int `json:"maxSearchResults" default:"10"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.