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.
24 lines
387 B
24 lines
387 B
package pconline
|
|
|
|
import (
|
|
"github.com/dtapps/go-library/utils/golog"
|
|
"github.com/dtapps/go-library/utils/gorequest"
|
|
)
|
|
|
|
type Client struct {
|
|
client *gorequest.App // 请求服务
|
|
log struct {
|
|
status bool // 状态
|
|
client *golog.ApiClient // 日志服务
|
|
}
|
|
}
|
|
|
|
func NewClient() (*Client, error) {
|
|
|
|
c := &Client{}
|
|
|
|
c.client = gorequest.NewHttp()
|
|
|
|
return c, nil
|
|
}
|