gin

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 (*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

type HttpError added in v0.8.0

type HttpError struct {
	Code    int64  `json:"code"`
	Message string `json:"message"`
}

func (HttpError) Error added in v0.8.0

func (e HttpError) Error() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL