ui

package
v0.0.0-...-cb5ec35 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CurMark  = "(bg-red)"
	PageSize = 45
)

Variables

This section is empty.

Functions

func AddBgColor

func AddBgColor(msg string) string

func DelBgColor

func DelBgColor(msg string) string

Types

type Layout

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

func NewLayout

func NewLayout(userNickList []string, userIDList []string, myName, myID string, msgIn chan wechat.Message, msgOut chan wechat.MessageOut, closeChan, autoReply chan int, logger *log.Logger) *Layout

func (*Layout) Init

func (l *Layout) Init()

func (*Layout) NextUser

func (l *Layout) NextUser()

func (*Layout) PrevUser

func (l *Layout) PrevUser()

func (*Layout) SendText

func (l *Layout) SendText(text string)

Jump to

Keyboard shortcuts

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