Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BinPath string Portable bool BackColor term.Attribute TextColor term.Attribute Justify bool // info about last opened book // lastPosition and lastLength are used in case of DB is off LastFile string LastPosition int LastLength int LastError int Lines []string UseDb bool DbDriver common.BookDb Info fbutils.BookInfo // contains filtered or unexported fields }
func InitConfig ¶
func InitConfig() *Config
func (*Config) InitDatabase ¶
func (conf *Config) InitDatabase()
func (*Config) ReadLastFileInfo ¶
func (conf *Config) ReadLastFileInfo()
func (*Config) SaveLastFileInfo ¶
func (conf *Config) SaveLastFileInfo()
Click to show internal directories.
Click to hide internal directories.