func init() { bot.RegisterPrivate(&bot.ModInfo{ Name: "Trace", Description: "Result of traceroute to given IPv4 destination", Help: true, Command: "trace", Callback: Trace, }) bot.RegisterPrivate(&bot.ModInfo{ Help: false, Command: "traceroute", Callback: Trace, }) bot.RegisterChannel(&bot.ModInfo{ Name: "Trace", Description: "Number of hops to given IPv4 destination", Help: true, Command: "trace", Callback: CTrace, }) bot.RegisterChannel(&bot.ModInfo{ Help: false, Command: "traceroute", Callback: CTrace, }) }
func init() { bot.RegisterPrivate(&bot.ModInfo{ Name: "Route6", Description: "Preferred peer and additional information for given IPv6 network", Help: true, Command: "route6", Callback: Route6, }) bot.RegisterChannel(&bot.ModInfo{ Name: "Route6", Description: "Wheter given IPv4 network is in IPv6 table and it's CIDR notation", Help: true, Command: "route6", Callback: CRoute6, }) }
func init() { bot.RegisterPrivate(&bot.ModInfo{ Name: "TCPConnect", Description: "Checks if the given TCP port is reachable", Help: true, Command: "tcpconnect", Callback: TCPConnect, }) bot.RegisterChannel(&bot.ModInfo{ Name: "TCPConnect", Description: "Checks if the given TCP port is reachable", Help: true, Command: "tcpconnect", Callback: CTCPConnect, }) }
func init() { bot.RegisterPrivate(&bot.ModInfo{ Name: "Ping", Description: "Result of 5 ECHO_REQUEST packets to given IPv4 destination", Help: true, Command: "ping", Callback: Ping, }) bot.RegisterChannel(&bot.ModInfo{ Name: "Ping", Description: "Average time of 5 ECHO_REQUEST packets to given IPv4 destination", Help: true, Command: "ping", Callback: CPing, }) }
func init() { bot.RegisterPrivate(&bot.ModInfo{ Name: "Whois", Description: "Last whois block for query", Help: true, Command: "whois", Callback: Whois, }) bot.RegisterChannel(&bot.ModInfo{ Name: "Whois", Description: "Admin-C, status, contact, ...", Help: true, Command: "whois", Callback: CWhois, }) }