Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Version bool `ff:"short: v, long: version, usage: 'show version'"`
Tag bool `ff:"short: t, long: tag, usage: 'show tag'"`
Compress string `ff:"short: c, long: compress, usage: 'compress current folder'"`
File string `ff:"short: f, long: file, usage: 'file to open (.tar.gz format)'"`
GIT string `ff:"short: g, long: git, usage: 'git repository URL'"`
Dir string `ff:"short: d, long: dir, usage: 'directory to open'"`
Help bool `ff:" long: help, usage: 'help'"`
Address string `ff:"short: h, long:host, default: 127.0.0.1, usage: 'address that present will listen on'"`
Port int `ff:"short: p, long:port, default: 8080, usage: 'port that present will listen on'"`
Security Security
Controls Controls
Update Update
}
func (*Config) CheckPasswords ¶
func (c *Config) CheckPasswords()
func (*Config) CompressPresentation ¶
func (c *Config) CompressPresentation()
func (*Config) DecompressPresentation ¶
func (c *Config) DecompressPresentation()
type Controls ¶
type Controls struct {
Menu string `ff:"long: menu, usage: 'keys that opens menu'"`
NextPage string `ff:"long: next-page, usage: 'keys that go to next page'"`
PreviousPage string `ff:"long: previous-page, usage: 'keys that go to previous page'"`
TerminalCast string `ff:"long: terminal-cast, usage: 'keys that run commands'"`
TerminalClose string `ff:"long: terminal-close, usage: 'keys that closes terminal'"`
}
Click to show internal directories.
Click to hide internal directories.