Documentation ¶
Index ¶
Constants ¶
View Source
const ( HnswSearchSimple int = iota HnswSearchHuristic )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string `envconfig:"ODS_LOG_LEVEL"` Port string `envconfig:"ODS_PORT" default:":8000"` Hnsw *HnswConfig }
Config provoides configuration values for all components.
func GetConf ¶
GetConf accepts the path to a file, constructs an absolute path to the file, and attempt to parse it into a Config struct.
func ParseConfigFile ¶
ParseConfigFile parses the given file ito an odyssey config struct
Click to show internal directories.
Click to hide internal directories.