Documentation ¶
Index ¶
- Variables
- func BscToken(symbol string) string
- func BscTokenKeyIndex(index int) string
- func BscTokenValueIndex(index int) string
- func GetText(key string) string
- func NewConfig(file string)
- func SaveValue(key, value string)
- func SyrupPool(symbol string) string
- func SyrupPoolKeyIndex(index int) string
- func SyrupPoolKeys() []string
- func SyrupPoolValueIndex(index int) string
- type NodeConfig
- type YamlConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var EnTextMap = map[string]string{
"app.title": "People",
"menu.show.title": "Info",
"menu.show.message": "Please Start App Again",
"menu.language": "Language",
"menu.language.zh": "中文",
"menu.language.en": "English",
"main.tab.syrup": "Pancake Syrup Pool",
"main.tab.account": "BSC",
"main.tab.setting": "Setting",
"main.field.address": "Address",
"main.tab.transfers": "Transfer To Many",
}
View Source
var ZhTextMap = map[string]string{
"app.title": "People",
"menu.show.title": "通知",
"menu.show.message": "请重新打开",
"menu.language": "语言",
"menu.language.zh": "中文",
"menu.language.en": "English",
"main.tab.syrup": "Pancake 糖浆池",
"main.tab.account": "BSC",
"main.tab.setting": "配置",
"main.field.address": "地址",
"main.tab.transfers": "向多地址转账",
}
Functions ¶
func BscTokenKeyIndex ¶
func BscTokenValueIndex ¶
func SyrupPoolKeyIndex ¶
func SyrupPoolKeys ¶
func SyrupPoolKeys() []string
func SyrupPoolValueIndex ¶
Types ¶
type NodeConfig ¶
type YamlConfig ¶
type YamlConfig struct { Language string Bsc NodeConfig PancakeRouter string FromAddress string //PrivateKey string //Mnemonic string BscToken map[string]string SyrupPool map[string]string }
var CF YamlConfig
Click to show internal directories.
Click to hide internal directories.