Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDb ¶
type BaseDb struct { User string `json:"User" gorm:"column:User"` Port int `json:"Port" gorm:"column:Port"` DbName string `json:"DbName" gorm:"column:DbName"` Addr string `json:"Addr" gorm:"column:Addr"` Password string `json:"Password" gorm:"column:Password"` }
{ "Addr": "192.168.2.9", "Port": 9000, "User": "test", "Password": "test", "DbName": "base" }
type Chain ¶
type Chain struct { ChainName string `json:"chainName" gorm:"column:chainName"` ChainIcon string `json:"chainIcon" gorm:"column:chainIcon"` WsUri string `json:"wsUri" gorm:"column:wsUri"` HttpUri string `json:"httpUri" gorm:"column:httpUri"` ChainCode int64 `json:"chainCode" gorm:"column:chainCode"` HttpPort string `json:"httpPort" gorm:"column:httpPort"` WsPort string `json:"wsPort" gorm:"column:wsPort"` }
func LoadChains ¶
Click to show internal directories.
Click to hide internal directories.