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