README ¶ gilc Go ILeoConsole - ILeoConsole re-implementation and plugin framework in Go Let's make Go a first-class language for LeoConsole plugins! Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func ReadLine(prompt string) (string, error) func Run() func Setup(description string, pmain func(IData), pcommand func(IData, []string), ...) func Write(msg string) func WriteLine(msg string) func YesNoDialog(prompt string, acceptEnter bool) (bool, error) type IData type IPlugin Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadLine ¶ func ReadLine(prompt string) (string, error) func Run ¶ func Run() func Setup ¶ func Setup(description string, pmain func(IData), pcommand func(IData, []string), pshutdown func(IData)) func Write ¶ func Write(msg string) func WriteLine ¶ func WriteLine(msg string) func YesNoDialog ¶ func YesNoDialog(prompt string, acceptEnter bool) (bool, error) Types ¶ type IData ¶ type IData struct { Username string `json:"Username"` SavePath string `json:"SavePath"` DownloadPath string `json:"DownloadPath"` Version string `json:"Version"` } type IPlugin ¶ type IPlugin struct { Name string Description string Data IData Main func(IData) Command func(IData, []string) Shutdown func(IData) } var Plugin IPlugin = IPlugin{} Source Files ¶ View all Source files gilc.goio.go Click to show internal directories. Click to hide internal directories.