Versions in this module Expand all Collapse all v0 v0.9.6 Nov 26, 2019 v0.9.5 Oct 25, 2019 Changes in this version + const DEFAULT_ENDPOINT + const REQUEST_EIP_URL + const URI_PREFIX + type Billing struct + BillingMethod string + PaymentTiming string + Reservation *Reservation + type BindEipArgs struct + ClientToken string + InstanceId string + InstanceType string + type Client struct + func NewClient(ak, sk, endPoint string) (*Client, error) + func (c *Client) BindEip(eip string, args *BindEipArgs) error + func (c *Client) CreateEip(args *CreateEipArgs) (*CreateEipResult, error) + func (c *Client) DeleteEip(eip, clientToken string) error + func (c *Client) ListEip(args *ListEipArgs) (*ListEipResult, error) + func (c *Client) PurchaseReservedEip(eip string, args *PurchaseReservedEipArgs) error + func (c *Client) ResizeEip(eip string, args *ResizeEipArgs) error + func (c *Client) UnBindEip(eip, clientToken string) error + type CreateEipArgs struct + BandWidthInMbps int + Billing *Billing + ClientToken string + Name string + Tags []model.TagModel + type CreateEipResult struct + Eip string + type EipModel struct + BandWidthInMbps int + BillingMethod string + CreateTime string + Eip string + EipInstanceType string + ExpireTime string + InstanceId string + InstanceType string + Name string + PaymentTiming string + ShareGroupId string + Status string + Tags []model.TagModel + type ListEipArgs struct + Eip string + InstanceId string + InstanceType string + Marker string + MaxKeys int + Status string + type ListEipResult struct + EipList []EipModel + IsTruncated bool + Marker string + MaxKeys int + NextMarker string + type PurchaseReservedEipArgs struct + Billing *Billing + ClientToken string + type Reservation struct + ReservationLength int + ReservationTimeUnit string + type ResizeEipArgs struct + ClientToken string + NewBandWidthInMbps int