Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Prefetch ¶
func Prefetch(cfg *iqshell.Config, info PrefetchInfo)
Types ¶
type PrefetchInfo ¶
type PrefetchInfo struct {
UrlListFile string // url 信息文件
SizeLimit int // 每次刷新最大 size 限制
QpsLimit int // qps 限制
}
func (*PrefetchInfo) Check ¶
func (info *PrefetchInfo) Check() *data.CodeError
Click to show internal directories.
Click to hide internal directories.