funcs

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(num string, nb int) bool

func CreateDB added in v0.3.1

func CreateDB(t g.Target, db *sql.DB)

func CurrentTimeMillis

func CurrentTimeMillis() int64

func GetRoot

func GetRoot() string

func NewState

func NewState() *g.State

func StartAlert

func StartAlert(config g.Config, db *sql.DB)

func StartGoPing added in v0.4.0

func StartGoPing(t g.Target, db *sql.DB, config g.Config)

func StartSysPing added in v0.4.0

func StartSysPing(t g.Target, db *sql.DB, config g.Config)

func StoragePing added in v0.4.0

func StoragePing(pingres g.PingSt, t g.Target, db *sql.DB)

func Timestr

func Timestr(time string) string

func ValidIP4

func ValidIP4(ipAddress string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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