Documentation ¶
Index ¶
Constants ¶
View Source
const Spec = "/"
Variables ¶
View Source
var (
DataDirSetFlag = false
)
View Source
var RPCCommands = map[int]RPCCommand{ // contains filtered or unexported fields }
View Source
var RPCStrCommands = map[string]int{}
View Source
var SysMessage = map[int]string{ // contains filtered or unexported fields }
Functions ¶
func NewExternalGUI ¶
func NewExternalGUI(context *cli.Context, close chan os.Signal) gui.EleWalletGUI
func NewGUIServer ¶
func NewGUIServer() *guiserver
Types ¶
type BackendMsg ¶
type BackendMsg struct { MsgType string `json:"MsgType,omitempty"` OpCmd string `json:"OpCmd,omitempty"` OpRet string `json:"OpRet,omitempty"` }
The result of the operation command request
type ExternalGUI ¶
type ExternalGUI struct {
// contains filtered or unexported fields
}
func (*ExternalGUI) Init ¶
func (ui *ExternalGUI) Init(langEN bool, e gui.GUIBackend)
func (*ExternalGUI) SetLogger ¶
func (ui *ExternalGUI) SetLogger(log log.Logger)
func (*ExternalGUI) Show ¶
func (ui *ExternalGUI) Show()
type OpRequestMsg ¶
type OpRequestMsg struct { OpCmd string `json:"OpCmd,omitempty"` OpParams []string `json:"OpParams,omitempty"` }
The operation command request
type RPCCommand ¶
Click to show internal directories.
Click to hide internal directories.