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

19 lines
296 B
Go
Raw Normal View History

2018-07-03 10:44:04 +00:00
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"
},
},
}
}