Documentation
¶
Index ¶
- func CheckUrl(url string) error
- func EncryptPassword(salt, raw string) string
- func Getkey(keys []string, sid int) string
- func InitStatsd(addr string)
- func KeysOfMap(m map[string]string) []string
- func LdapBind(addr, BaseDN, BindDN, BindPasswd, UserField, user, password string) (sucess bool, err error)
- func Ldapsearch(addr, BaseDN, BindDN, BindPasswd, UserField, user string, Attributes []string) (map[string]string, error)
- func ParseUrl(target string) (schema, host, port, path string)
- func PushFalcon(addr string, itemCheckedArray []*dataobj.CheckResult, ip string)
- func PushPromethues(addr string, itemsChecked []*dataobj.CheckResult, ip string)
- func PushStatsd(metric string, value int64) error
- func ReadLastLine(filename string) (string, error)
- func TimeFormat(ts int64) string
- type MetricValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptPassword ¶
func InitStatsd ¶
func InitStatsd(addr string)
func Ldapsearch ¶
func PushFalcon ¶
func PushFalcon(addr string, itemCheckedArray []*dataobj.CheckResult, ip string)
func PushPromethues ¶
func PushPromethues(addr string, itemsChecked []*dataobj.CheckResult, ip string)
func PushStatsd ¶
func ReadLastLine ¶
func TimeFormat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.