lego/vendor/github.com/sacloud/libsacloud/api/zone.go

20 lines
295 B
Go
Raw Normal View History

package api
// ZoneAPI ゾーンAPI
type ZoneAPI struct {
*baseAPI
}
// NewZoneAPI ゾーンAPI作成
func NewZoneAPI(client *Client) *ZoneAPI {
return &ZoneAPI{
&baseAPI{
client: client,
// FuncGetResourceURL
FuncGetResourceURL: func() string {
return "zone"
},
},
}
}