config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataRobotURL    = "endpoint"
	DataRobotAPIKey = "token"
)

Variables

This section is empty.

Functions

func CreateConfigFileDirIfNotExists

func CreateConfigFileDirIfNotExists() error

func DebugViperConfig added in v0.1.7

func DebugViperConfig()

func GetAPIKey

func GetAPIKey() string

func GetBaseURL

func GetBaseURL() string

func GetEndpointURL

func GetEndpointURL(endpoint string) (string, error)

func ReadConfigFile

func ReadConfigFile(filePath string) error

func SaveURLToConfig

func SaveURLToConfig(newURL string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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