config

package
v0.0.0-...-db4604a Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HpaExecutorUrl string
	TrainerUrl     string
	InferModuleUrl string
)

Functions

func InitConf

func InitConf()

Types

type DBConf

type DBConf struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Host     string `json:"host"`
	Port     int    `json:"port"`
	DBName   string `json:"dbname"`
	Charset  string `json:"charset"`
}

type UrlConf

type UrlConf struct {
	HpaExecutorUrl string `json:"hpa_executor_url"`
	TrainerUrl     string `json:"trainer_url"`
	InferModuleUrl string `json:"infer_module_url"`
	ServerUrl      string `json:"server_url"`
}

Jump to

Keyboard shortcuts

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