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

19 lines
296 B
Go
Raw Normal View History

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"
},
},
}
}