26 lines
478 B
Go
26 lines
478 B
Go
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,
|
|
`channel` varchar(128) DEFAULT NULL, // 没有分类
|
|
`show_type` varchar(255) DEFAULT NULL,
|
|
*/
|
|
|
|
func main() {
|
|
go func() {
|
|
http.ListenAndServe("0.0.0.0:8899", nil)
|
|
}()
|
|
|
|
oe := &OpenrecExtractor{}
|
|
oe.Execute()
|
|
}
|