Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var URLCenter map[TargetURL]*url.URL
Functions ¶
Types ¶
type DefaultCrawlerCallBack ¶
type DefaultCrawlerCallBack struct {
}
func (*DefaultCrawlerCallBack) OnBasicFund ¶
func (cb *DefaultCrawlerCallBack) OnBasicFund([]*BasicFund)
func (*DefaultCrawlerCallBack) OnHistoryValue ¶
func (cb *DefaultCrawlerCallBack) OnHistoryValue(*ApiData)
type FundCrawler ¶
type FundCrawler interface {
SetCallBack(FundCrawlerCallBack)
GetAllBasicFund(sync bool)
GetHistoryValue(sync bool, code string, page int, sdate string, edate string)
ConsumeHistoryValueQueue()
}
func NewFundCrawler ¶
func NewFundCrawler() FundCrawler
type FundCrawlerCallBack ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.