Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogFileUpdateRoom string = "update-room"
)
Variables ¶
This section is empty.
Functions ¶
func AddRequestEntity ¶
func AddRequestEntity(entity *RequestEntity)
func CreateLogger ¶
func RunUpdateRoom ¶
func RunUpdateRoom()
func StartCrawl ¶
func StartCrawl()
Types ¶
type RequestEntity ¶
type RequestEntity struct { Tag string URL string RequestOptions *grequests.RequestOptions DataCallback func(json string) }
func CreateRequestEntity ¶
type ResponseEntity ¶
func CreateResponseEntity ¶
func CreateResponseEntity(tag string, resp *grequests.Response) *ResponseEntity
type UpdateRoom ¶
type UpdateRoom struct {
*BaseJob
}
func (UpdateRoom) Run ¶
func (this UpdateRoom) Run()
Click to show internal directories.
Click to hide internal directories.