Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// TrendingCache use to store the trending data of specified language.
TrendingCache *trendingCache
)
Functions ¶
func SubNatsWithSubject ¶
func SubNatsWithSubject(subject *string) (*nc.Subscriber, error)
SubNatsWithSubject subscribe to subject and begin to execute the crawler after receiving the specified language.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.