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