Funcs

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Extra extras

Functions

func All_url_ALLjson

func All_url_ALLjson(urls <-chan string, allresult chan<- all_result)

func All_url_one_Json

func All_url_one_Json(oneExpjson Configs.ExpJson, urls <-chan string, result chan<- results, timeout_count map[string]int)

func Choose

func Choose(urllist []string)

func Client

func Client(method string, url string, body io.Reader, Headers map[string]string, timeout time.Duration, redirects string, paras params) (resp *http.Response)

func FechRegex

func FechRegex(Regepx string, body string) [][]string

func FindFile

func FindFile(path, keyworld string)

func FindFileAllJson

func FindFileAllJson(pathname string, FindResltAllJson []string) ([]string, error)

搜索所有的json格式文件

func GetAllJson

func GetAllJson() []Configs.ExpJson

func GetTitleRequest

func GetTitleRequest(url string, timeout time.Duration) (resp *http.Response, str string)

func GetUrlFile

func GetUrlFile(filename string) (urllist []string)

func GetUrlTitle

func GetUrlTitle()

func GetUrlTitle_handle

func GetUrlTitle_handle(urls <-chan string, Get_title_res chan<- Gettitle_result)

func Get_Time

func Get_Time() string

func JudgeMent_OneUrl_OneJson

func JudgeMent_OneUrl_OneJson(url string, oneExpjson Configs.ExpJson) bool

func LoadExpJson

func LoadExpJson(filepath string)

func LoadExpJsonAll

func LoadExpJsonAll(filepath string) []byte

func LoadOneExpJson

func LoadOneExpJson(filepath string, oneExpjson *Configs.ExpJson)

func PrintFindResult

func PrintFindResult(Result []string)

func UClient

func UClient(method, url string, filestruct Configs.FileNameStruct, body io.Reader, Headers map[string]string, timeout time.Duration, redirects string, paras params) (resp *http.Response)

Types

type Gettitle_result

type Gettitle_result struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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