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
383 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 // 请求服务
9 months ago
slog struct {
status bool // 状态
client *golog.ApiSLog // 日志服务
1 year ago
}
}
1 year ago
func NewClient() (*Client, error) {
1 year ago
c := &Client{}
c.client = gorequest.NewHttp()
2 years ago
return c, nil
}