Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppName = "go-tg" AppVersion = "0.1" AppDescription = "Command-line interface for Telegram in Go." AppTgName = "Federator" AppId = 10604 AppHash = "34be6d99874fb9607fe932dbb86fe4a3" )
Application constants.
View Source
const ( ConfigDirectory = "." + AppName DownloadsDirectory = "downloads" ConfigFile = "config" AuthKeyFile = "auth" StateFile = "state" SecretChatFile = "secret" BinlogFile = "binlog" )
Directories and file locations.
Variables ¶
View Source
var AppAuthors = []cli.Author{
{Name: "Alejandro Leiva", Email: "gloob@litio.org"},
}
Arrays aren't immutable so we are defining this outside of the const declaration.
Functions ¶
func LoadConfig ¶
Types ¶
type Terminal ¶
func NewTerminal ¶
func NewTerminal() *Terminal
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
|
Package cli provides a minimal framework for creating and organizing command line Go applications. |
_workspace/src/github.com/jroimartin/gocui
Package gocui allows to create console user interfaces.
|
Package gocui allows to create console user interfaces. |
_workspace/src/github.com/nsf/termbox-go
termbox is a library for creating cross-platform text-based interfaces
|
termbox is a library for creating cross-platform text-based interfaces |
Click to show internal directories.
Click to hide internal directories.