20 lines
433 B
Go
20 lines
433 B
Go
package config
|
|
|
|
var ExtConfig Extend
|
|
|
|
type Extend struct {
|
|
AMap AMap `yaml:"demo"`
|
|
Huohanhan HuohanhanConfig `yaml:"huohanhan"`
|
|
}
|
|
type AMap struct {
|
|
Key string `yaml:"key"`
|
|
}
|
|
type HuohanhanConfig struct {
|
|
BaseURL string `yaml:"base_url"`
|
|
Account string `yaml:"account"`
|
|
Password string `yaml:"password"`
|
|
OCRURL string `yaml:"ocr_url"`
|
|
StateDB string `yaml:"state_db"`
|
|
APIKey string `yaml:"api_key"`
|
|
}
|