intimate/extractor/openrec_extractor/main.go

27 lines
479 B
Go
Raw Normal View History

2020-07-10 04:05:33 +00:00
package main
import (
"net/http"
_ "net/http/pprof"
)
/*
`uid` varchar(36) NOT NULL,
`platform` varchar(255) NOT NULL,
`anchor_id` varchar(255) NOT NULL,
`anchor_name` varchar(255) NOT NULL,
`live_url` text,
2020-07-10 10:31:17 +00:00
`channel` varchar(128) DEFAULT NULL, // 没有分类
`show_type` varchar(255) DEFAULT NULL,
*/
2020-07-10 04:05:33 +00:00
func main() {
go func() {
http.ListenAndServe("0.0.0.0:8899", nil)
}()
oe := &OpenrecExtractor{}
oe.Execute()
2020-07-10 04:05:33 +00:00
}