Documentation ¶
Index ¶
- Variables
- type BitfinexAuthClient
- func (b *BitfinexAuthClient) GenHeaders(req utils.HTTPRequest) (map[string]string, error)
- func (b *BitfinexAuthClient) GetBaseURL() string
- func (b *BitfinexAuthClient) GetDebug() bool
- func (b *BitfinexAuthClient) SendHTTPRequest(ctx context.Context, req utils.HTTPRequest) (*utils.ApiResponse, error)
- type BitfinexClientCfg
- type HTTPRequest
- type RestAuthClient
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BaseURL = "https://api.bitfinex.com"
)
Functions ¶
This section is empty.
Types ¶
type BitfinexAuthClient ¶
type BitfinexAuthClient struct {
// contains filtered or unexported fields
}
func NewBitfinexClient ¶
func NewBitfinexClient(cfg *BitfinexClientCfg) (*BitfinexAuthClient, error)
func (*BitfinexAuthClient) GenHeaders ¶
func (b *BitfinexAuthClient) GenHeaders(req utils.HTTPRequest) (map[string]string, error)
func (*BitfinexAuthClient) GetBaseURL ¶
func (b *BitfinexAuthClient) GetBaseURL() string
func (*BitfinexAuthClient) GetDebug ¶
func (b *BitfinexAuthClient) GetDebug() bool
func (*BitfinexAuthClient) SendHTTPRequest ¶
func (b *BitfinexAuthClient) SendHTTPRequest(ctx context.Context, req utils.HTTPRequest) (*utils.ApiResponse, error)
type BitfinexClientCfg ¶
type HTTPRequest ¶
type RestAuthClient ¶
type RestAuthClient struct { *BitfinexAuthClient // contains filtered or unexported fields }
func NewRestAuthClient ¶
func NewRestAuthClient(cfg *BitfinexClientCfg) (*RestAuthClient, error)
func (*RestAuthClient) GetWallets ¶
func (r *RestAuthClient) GetWallets(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.