Documentation
¶
Index ¶
- Variables
- func AlertSendMail(t g.AlertLog)
- func AlertStorage(t g.AlertLog)
- func BackString(m map[string]string) (string, string, string, string)
- func Backmap(fline string) map[string]string
- func Backslicesum(slicename []float64) float64
- func CheckAlertStatus(v map[string]string) bool
- func CheckIsIn(slicename []string, linename string) bool
- func CheckIsInAllMap(gconfig *g.Config, mname g.NetworkMember) bool
- func CheckIsInMap(slicename *[]map[string]string, mname map[string]string) bool
- func ClearArchive()
- func CompareSlice(nowslice, originslice []string) ([]string, []string)
- func DelipfromMap(selfpingtopology []map[string]string, delslice []string) []map[string]string
- func Delipfromslice(selfpingslice, delslice []string) []string
- func DnsResolve(domain string, count int) []string
- func MapPingStorage()
- func Mapping()
- func MappingTask(tel string, prov string, ips []string, wg *sync.WaitGroup)
- func MonitorDomain()
- func Ping()
- func PingStorage(pingres g.PingSt, Addr string)
- func PingTask(ipvalue string, wg *sync.WaitGroup)
- func RemoveIsIntSlice(sourceslice *[]string) []string
- func SendAlarm(ipvalue string)
- func SendMail(user, pwd, host, to, subject, body string) error
- func StartAlert()
- func StartCloudMonitor()
- func StringIsInSlice(slicename []string, str string) bool
- func ValidDomain(domainName string) bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AlertSendMail ¶
func AlertStorage ¶
func Backslicesum ¶
func CheckAlertStatus ¶
func CheckIsInAllMap ¶
func CheckIsInAllMap(gconfig *g.Config, mname g.NetworkMember) bool
func CompareSlice ¶
func DelipfromMap ¶
func Delipfromslice ¶
func DnsResolve ¶
func MapPingStorage ¶
func MapPingStorage()
func MappingTask ¶
ping main function
func MonitorDomain ¶
func MonitorDomain()
func StartAlert ¶
func StartAlert()
func StartCloudMonitor ¶
func StartCloudMonitor()
func StringIsInSlice ¶
func ValidDomain ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.