packer-cn/vendor/github.com/ucloud/ucloud-sdk-go/services/ufile/client.go

23 lines
531 B
Go

// Code is generated by ucloud-model, DO NOT EDIT IT.
package ufile
import (
"github.com/ucloud/ucloud-sdk-go/ucloud"
"github.com/ucloud/ucloud-sdk-go/ucloud/auth"
)
// UFileClient is the client of UFile
type UFileClient struct {
*ucloud.Client
}
// NewClient will return a instance of UFileClient
func NewClient(config *ucloud.Config, credential *auth.Credential) *UFileClient {
meta := ucloud.ClientMeta{Product: "UFile"}
client := ucloud.NewClientWithMeta(config, credential, meta)
return &UFileClient{
client,
}
}