Documentation ¶
Index ¶
- type GopherPayTestClient
- func (c *GopherPayTestClient) OpenAccount(r request.OpenAccount) (response.ShortAccountInfo, error)
- func (c *GopherPayTestClient) ShowAccount(number string) (response.AccountInfo, error)
- func (c *GopherPayTestClient) ShowAvailableAccounts() ([]response.AvailableAccount, error)
- func (c *GopherPayTestClient) TransferMoney(r request.TransferMoney) (response.Message, error)
- type HttpError
- type HttpTestClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GopherPayTestClient ¶
type GopherPayTestClient struct {
// contains filtered or unexported fields
}
func (*GopherPayTestClient) OpenAccount ¶
func (c *GopherPayTestClient) OpenAccount(r request.OpenAccount) (response.ShortAccountInfo, error)
func (*GopherPayTestClient) ShowAccount ¶
func (c *GopherPayTestClient) ShowAccount(number string) (response.AccountInfo, error)
func (*GopherPayTestClient) ShowAvailableAccounts ¶ added in v0.8.0
func (c *GopherPayTestClient) ShowAvailableAccounts() ([]response.AvailableAccount, error)
func (*GopherPayTestClient) TransferMoney ¶
func (c *GopherPayTestClient) TransferMoney(r request.TransferMoney) (response.Message, error)
type HttpTestClient ¶
type HttpTestClient struct {
// contains filtered or unexported fields
}
func (*HttpTestClient) SendGetRequest ¶
func (c *HttpTestClient) SendGetRequest(path string, resp interface{}) error
func (*HttpTestClient) SendPostRequest ¶
func (c *HttpTestClient) SendPostRequest(path string, r interface{}, resp interface{}) error
Click to show internal directories.
Click to hide internal directories.