Documentation
¶
Index ¶
Constants ¶
View Source
const ( RED = "1" GREEN = "2" YELLOW = "3" )
View Source
const (
MAX_HISTORY = 6
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHistory ¶
type CommandHistory struct {
CommandTexts []CommandText
Height int
Width int
// contains filtered or unexported fields
}
func (*CommandHistory) GetLastCommand ¶
func (ch *CommandHistory) GetLastCommand() *CommandText
func (*CommandHistory) GetNextCommand ¶
func (ch *CommandHistory) GetNextCommand() *CommandText
func (*CommandHistory) ResetCurrentIndex ¶
func (ch *CommandHistory) ResetCurrentIndex()
func (CommandHistory) View ¶
func (ch CommandHistory) View() string
type CommandText ¶
func (CommandText) View ¶
func (ct CommandText) View() string
type ConnectMsg ¶
type ConnectMsg struct {
Error error
}
type MemcachedResponseMsg ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func NewModel ¶
func NewModel(socketAddress memcachedclient.SocketAddress) Model
Click to show internal directories.
Click to hide internal directories.