traefik/vendor/github.com/sacloud/libsacloud/api/private_host.go

19 lines
331 B
Go
Raw Normal View History

2018-07-03 10:44:04 +00:00
package api
// PrivateHostAPI 専有ホストAPI
type PrivateHostAPI struct {
*baseAPI
}
// NewPrivateHostAPI 専有ホストAPI作成
func NewPrivateHostAPI(client *Client) *PrivateHostAPI {
return &PrivateHostAPI{
&baseAPI{
client: client,
FuncGetResourceURL: func() string {
return "privatehost"
},
},
}
}