Versions in this module Expand all Collapse all v1 v1.0.0 Dec 26, 2023 Changes in this version + var BaseURL = "https://api.bitfinex.com" + type BitfinexAuthClient struct + func NewBitfinexClient(cfg *BitfinexClientCfg) (*BitfinexAuthClient, error) + 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 struct + BaseURL string + Debug bool + Key string + Logger *slog.Logger + RecvWindow int + Secret string + type HTTPRequest struct + BaseURL string + Body any + Headers map[string]string + Method string + Path string + Query any + type RestAuthClient struct + func NewRestAuthClient(cfg *BitfinexClientCfg) (*RestAuthClient, error) + func (r *RestAuthClient) GetWallets(ctx context.Context) error