package
Version:
v0.0.0-...-4f679da
Opens a new window with list of versions in this module.
Published: Mar 28, 2024
License: GPL-3.0
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
¶
type Config struct {
BaseUrl string `mapstructure:"BASE_URL"`
ApiKey string `mapstructure:"API_KEY"`
}
Configuration for the Cortex Client
So far, the only mandatory value is
ApiKey, since BaseUrl has a default
value.
GetConfig returns a Config object to retreive information
for both Request creation and Client instantiation
Source Files
¶
Click to show internal directories.
Click to hide internal directories.