Versions in this module Expand all Collapse all v0 v0.2.6 Nov 18, 2016 v0.2.5 Oct 14, 2016 Changes in this version type Config + Snmp SNMP + type SNMP struct + Authpass string + Authproto string + Community string + Port int + Privacypass string + Privacyproto string + Retries int + Securitylevel string + Timeout string + Version string type Trace + Theme string v0.2.4 Sep 23, 2016 Changes in this version + func CMDRgx() *regexp.Regexp type Config + Trace Trace + type Trace struct + Wait string v0.2.3 Aug 31, 2016 Changes in this version + func GetCMDNames(s interface{}) []string + func GetOptions(s interface{}, key string) ([]string, []interface{}) + func InitConfig(f string) ([]byte, error) + func SetConfig(args string, s *Config) + func SetValue(v reflect.Value, rec string, val interface{}) error + func ShowConfig(s *Config) + func UpgradeConfig(cfg *Config) + func WriteConfig(cfg Config) error + type Config struct + Hping HPing + Ping Ping + Scan Scan + Web Web + func LoadConfig() Config + func ReadConfig() Config + func ReadDefaultConfig() (Config, error) + type HPing struct + Count int + Data string + Method string + Timeout string + type Ping struct + Count int + Interval string + Timeout string + type Scan struct + Port string + type Web struct + Address string + Port int v0.2.2 Aug 19, 2016 v0.2.1 Aug 5, 2016 v0.2.0 Aug 3, 2016 Changes in this version + var CMDReg = regexp.Compile(...) v0.1.9 Jul 28, 2016 v0.1.8 Jul 20, 2016 Changes in this version + func Flag(args string) (string, map[string]interface{}) + func SetFlag(flag map[string]interface{}, option string, v interface{}) interface v0.1.7 Jul 14, 2016 v0.1.6 Jul 9, 2016 v0.1.0 Jul 8, 2016 Changes in this version + type Readline struct + func Init(prompt string) *Readline + func (r *Readline) AddCompleter(pcItem string, pcSubItems []string) + func (r *Readline) Close(next chan struct{}) + func (r *Readline) GetPrompt() string + func (r *Readline) Help() + func (r *Readline) Next() + func (r *Readline) Refresh() + func (r *Readline) RemoveItemCompleter(pcItem string) + func (r *Readline) Run(cmd chan<- string, next chan struct{}) + func (r *Readline) SetEmacs() + func (r *Readline) SetPrompt(p string) + func (r *Readline) SetVim() + func (r *Readline) UpdateCompleter(pcItem string, pcSubItems []string) + func (r *Readline) UpdatePromptN(p string, n int)