funcs

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MapLock   = new(sync.Mutex)
	MapStatus map[string][]g.MapVal
)

Functions

func AlertSendMail added in v0.8.0

func AlertSendMail(t g.AlertLog)

func AlertStorage added in v0.8.0

func AlertStorage(t g.AlertLog)

func CheckAlertStatus added in v0.8.0

func CheckAlertStatus(v map[string]string) bool

func ClearArchive added in v0.8.0

func ClearArchive()

clear timeout alert table

func MapPingStorage added in v0.8.0

func MapPingStorage()

func Mapping added in v0.8.0

func Mapping()

func MappingTask added in v0.8.0

func MappingTask(tel string, prov string, ips []string, wg *sync.WaitGroup)

ping main function

func Ping

func Ping()

func PingStorage added in v0.8.0

func PingStorage(pingres g.PingSt, Addr string)

storage ping data

func PingTask added in v0.8.0

func PingTask(t g.NetworkMember, wg *sync.WaitGroup)

ping main function

func SendMail added in v0.8.0

func SendMail(user, pwd, host, to, subject, body string) error

func StartAlert

func StartAlert()

func StartCloudMonitor added in v0.8.0

func StartCloudMonitor()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL