Documentation
¶
Index ¶
- func CheckPing(ip string) (status bool, err error)
- func DeleteStrSliceEle(items []string, item string) []string
- func FalconToken() string
- func GenHostNameSlice(sliceKey []string, path string) (hosts []string)
- func GetDstSliceNotInSrcSlice(src []string, dst []string) (diffSlice []string)
- func HttpApiDelete(fullApiUrl string, params string, tokenType string) (io.ReadCloser, error)
- func HttpApiGet(fullApiUrl string, params string, tokenType string) (io.ReadCloser, error)
- func HttpApiPost(fullApiUrl string, params []byte, tokenType string) (io.ReadCloser, error)
- func HttpApiPut(fullApiUrl string, jsonData []byte, tokenType string) (status bool, err error)
- func IntInSlice(a int, list []int) bool
- func SliceContains(str string, s []string) bool
- type TimeStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteStrSliceEle ¶
func FalconToken ¶
func FalconToken() string
func GenHostNameSlice ¶
func HttpApiDelete ¶
func HttpApiGet ¶
func HttpApiPost ¶
func HttpApiPut ¶
func IntInSlice ¶
func SliceContains ¶
Types ¶
type TimeStruct ¶
func GetNow ¶
func GetNow() (nowTime TimeStruct)
Click to show internal directories.
Click to hide internal directories.