You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 rivejä
361 B
23 rivejä
361 B
package common
|
|
|
|
import (
|
|
"github.com/Albert-Zhan/httpc"
|
|
"github.com/unknwon/goconfig"
|
|
)
|
|
|
|
const (
|
|
SoftName = "jd_seckill"
|
|
Version = "0.2.1"
|
|
DateTimeFormatStr = "2006-01-02 15:04:05"
|
|
DateFormatStr = "2006-01-02"
|
|
)
|
|
|
|
var (
|
|
Client *httpc.HttpClient
|
|
|
|
CookieJar *httpc.CookieJar
|
|
|
|
Config *goconfig.ConfigFile
|
|
|
|
SeckillStatus chan bool
|
|
)
|
|
|