Documentation ¶
Index ¶
- func CheckUrl(url string) error
- func EncryptPassword(raw string) string
- func Getkey(idc string, sid int) string
- func InternalDns(domain string) []g.IpIdc
- func IsIP(ip string) bool
- 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 LookupIP(domain string, timeout int) ([]string, error)
- func ParseUrl(target string) (schema, host, port, path string)
- func PushFalcon(itemCheckedArray []*g.CheckResult, hostname string)
- 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 InternalDns ¶
func Ldapsearch ¶
func PushFalcon ¶
func PushFalcon(itemCheckedArray []*g.CheckResult, hostname string)
func ReadLastLine ¶
func TimeFormat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.