github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/loadbalancer/v2/testhelper/client.go (about)

     1  package common
     2  
     3  import (
     4  	"github.com/vnpaycloud-console/gophercloud/v2"
     5  	"github.com/vnpaycloud-console/gophercloud/v2/testhelper/client"
     6  )
     7  
     8  const TokenID = client.TokenID
     9  
    10  func ServiceClient() *gophercloud.ServiceClient {
    11  	sc := client.ServiceClient()
    12  	sc.ResourceBase = sc.Endpoint + "v2.0/"
    13  	return sc
    14  }