externgui

package
v0.0.0-...-585dd88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2020 License: LGPL-3.0 Imports: 20 Imported by: 0

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 Close

func Close()

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

type RPCCommand struct {
	Cmd     string
	TypeIn  []string
	BaseOut int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL