lego/vendor/github.com/sacloud/libsacloud/api/subnet.go
2018-06-21 21:24:45 +02:00

18 lines
296 B
Go

package api
// SubnetAPI サブネットAPI
type SubnetAPI struct {
*baseAPI
}
// NewSubnetAPI サブネットAPI作成
func NewSubnetAPI(client *Client) *SubnetAPI {
return &SubnetAPI{
&baseAPI{
client: client,
FuncGetResourceURL: func() string {
return "subnet"
},
},
}
}