v1

package
v0.0.0-...-935a062 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIHost string = "https://api.bitflyer.jp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(c *Client, apiPath string) *API

func (*API) BaseURL

func (api *API) BaseURL() (*url.URL, error)

type Client

type Client struct {
	Host string

	AuthConfig *auth.AuthConfig
}

func NewClient

func NewClient(opts *ClientOpts) *Client

func (*Client) APIHost

func (c *Client) APIHost() string

func (*Client) Addresses

func (c *Client) Addresses(req *addresses.Request) (*addresses.Response, error)

func (*Client) Balance

func (c *Client) Balance(req *balance.Request) (*balance.Response, error)

func (*Client) BankAccounts

func (c *Client) BankAccounts(req *bankaccounts.Request) (*bankaccounts.Response, error)

func (*Client) Board

func (c *Client) Board(req *board.Request) (*board.Response, error)

func (*Client) CancelAllChildOrders

func (c *Client) CancelAllChildOrders(req *cancelallchildorders.Request) (*cancelallchildorders.Response, error)

func (*Client) CancelChildOrder

func (c *Client) CancelChildOrder(req *cancelchildorder.Request) (*cancelchildorder.Response, error)

func (*Client) Chats

func (c *Client) Chats(req *chats.Request) (*chats.Response, error)

func (*Client) ChildOrders

func (c *Client) ChildOrders(req *childorders.Request) (*childorders.Response, error)

func (*Client) Coinins

func (c *Client) Coinins(req *coinins.Request) (*coinins.Response, error)

func (*Client) Coinouts

func (c *Client) Coinouts(req *coinouts.Request) (*coinouts.Response, error)

func (*Client) Collateral

func (c *Client) Collateral(req *collateral.Request) (*collateral.Response, error)

func (*Client) CollateralAccounts

func (c *Client) CollateralAccounts(req *collateralaccounts.Request) (*collateralaccounts.Response, error)

func (*Client) Executions

func (c *Client) Executions(req *executions.Request) (*executions.Response, error)

func (*Client) Health

func (c *Client) Health(req *health.Request) (*health.Response, error)

func (*Client) Markets

func (c *Client) Markets(req *markets.Request) (*markets.Response, error)

func (*Client) Permissions

func (c *Client) Permissions(req *permissions.Request) (*permissions.Response, error)

func (*Client) Positions

func (c *Client) Positions(req *positions.Request) (*positions.Response, error)

func (*Client) SendChildOrder

func (c *Client) SendChildOrder(req *sendchildorder.Request) (*sendchildorder.Response, error)

func (*Client) Ticker

func (c *Client) Ticker(req *ticker.Request) (*ticker.Response, error)

type ClientOpts

type ClientOpts struct {
	AuthConfig *auth.AuthConfig
}

Jump to

Keyboard shortcuts

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