coinbasego

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 16 Imported by: 0

README

coinbase-go

Documentation

Index

Constants

View Source
const ENDPOINT = "https://api.coinbase.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Auth *auth.Config

	HTTPC       *http.Client
	HTTPTimeout time.Duration
}

func New

func New(auth *auth.Config, fhc *http.Client, timeout time.Duration) *Client

func (*Client) CancelOrders

func (*Client) CreateOrder

func (*Client) GetAccount

func (*Client) GetCurrencies

func (*Client) GetOrder

func (*Client) GetPriceBuy

func (*Client) GetPriceSell

func (*Client) GetPriceSpot

func (*Client) GetProduct

func (*Client) ListAccounts

type Requester

type Requester interface {
	Path() string
	Method() string
	Query() string
	Payload() []byte
}

Directories

Path Synopsis
advanded-trade-api
sign-in-with-coinbase

Jump to

Keyboard shortcuts

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