Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseServer ¶
func CloseServer(c *beego.Controller)
func DoInitNode ¶
func DoInitNode(c *beego.Controller, runtime string)
func GenKeyInfo ¶
func GenKeyInfo() string
func RunNode ¶
func RunNode(c *beego.Controller)
Types ¶
type NodeInit ¶
type NodeInit struct { ConfigPath string `form:"config_path"` Chainid string `form:"chainid"` PeerPrivkey string `form:"peer_privkey"` P2PPort string `form:"p2p_port"` RpcPort string `form:"rpc_port"` EventPort string `form:"event_port"` Peers string `form:"peers"` AuthPrivkey string `form:"auth_privkey"` LogPath string `form:"log_path"` Genesisfile string `form:"genesisfile"` KeyInfo string `form:"keyinfo"` }
Click to show internal directories.
Click to hide internal directories.