Documentation
¶
Index ¶
- func Import(db *datastore.Datastore, filename string)
- type Client
- func (c *Client) CancelReturn(id string) (*Response, error)
- func (c *Client) CreateOrder(ord *order.Order, usr *user.User, opts OrderOptions) (*Order, *Response, error)
- func (c *Client) CreateReturn(ord *order.Order, opts ReturnOptions) (*Return, *Response, error)
- func (c *Client) GetOrder(id int) (*Order, *Response, error)
- func (c *Client) Rate(ord *order.Order) ([]Rates, *RateResponse, error)
- func (c *Client) Request(method, url string, body interface{}, dst interface{}) (*http.Response, error)
- func (c *Client) Resource(method, url string, body interface{}, dst interface{}) (*Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
Username string
Password string
Endpoint string
// contains filtered or unexported fields
}
func (*Client) CancelReturn ¶
func (*Client) CreateOrder ¶
func (*Client) CreateReturn ¶
Click to show internal directories.
Click to hide internal directories.