Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandMode = "command" InsertMode = "insert" SearchMode = "search" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppContext ¶
type AppContext struct { Version string Usage string EventQueue chan termbox.Event Service *service.SlackService Body *termui.Grid View *views.View Config *config.Config Debug bool Mode string Notify *notificator.Notificator }
func CreateAppContext ¶
func CreateAppContext(flgConfig string, flgToken string, flgDebug bool, version string, usage string) (*AppContext, error)
CreateAppContext creates an application context which can be passed and referenced througout the application
Click to show internal directories.
Click to hide internal directories.