Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ParseResult ¶
type ParseResult struct { Requests []Request //存放一个或多个Request供程序使用 Items []interface{} //存放多个参数 基本打印就靠他 }
信息大的集合 注意结构体中的类型都为数组 这是一个很关键的设置
type Request ¶
type Request struct { Url string //存放地址 ParserFunc func([]byte) ParseResult // 存放函数类型,参数[]byte就是下载器根据这个URL返回的内容 }
信息存放位置 每一个信息具有单独不连续的内存
Click to show internal directories.
Click to hide internal directories.