console

package module
v0.0.0-...-bfa12ee Latest Latest
Warning

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

Go to latest
Published: May 4, 2016 License: Apache-2.0 Imports: 3 Imported by: 561

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadLine

func ReadLine() (string, error)

Types

type Command

type Command struct {
	Name     string
	Callback func(string)
}

type Console

type Console struct {
	// contains filtered or unexported fields
}

func NewConsole

func NewConsole(empty func(string)) *Console

func (*Console) Command

func (cons *Console) Command(name string, callback func(string))

func (*Console) Run

func (cons *Console) Run()

Jump to

Keyboard shortcuts

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