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.
go-library/service/pconline/client.go

24 lines
387 B

package pconline
import (
2 years ago
"github.com/dtapps/go-library/utils/golog"
"github.com/dtapps/go-library/utils/gorequest"
)
type Client struct {
1 year ago
client *gorequest.App // 请求服务
log struct {
status bool // 状态
client *golog.ApiClient // 日志服务
}
}
1 year ago
func NewClient() (*Client, error) {
1 year ago
c := &Client{}
c.client = gorequest.NewHttp()
2 years ago
return c, nil
}