Versions in this module Expand all Collapse all v1 v1.0.0 Dec 26, 2023 Changes in this version + var BaseURL = "https://api.bybit.com" + var TestBaseURL = "https://api-testnet.bybit.com" + type BybitClient struct + func NewBybitClient(cfg *BybitClientCfg) (*BybitClient, error) + func (bb *BybitClient) GenAuthHeaders(req utils.HTTPRequest) (map[string]string, error) + func (bb *BybitClient) GetBaseURL() string + func (bb *BybitClient) GetDebug() bool + func (bb *BybitClient) GetKey() string + func (bb *BybitClient) GetRecvWindow() int + func (bb *BybitClient) GetSecret() string + func (bb *BybitClient) SendHTTPRequest(ctx context.Context, req utils.HTTPRequest) (*utils.ApiResponse, error) + type BybitClientCfg struct + BaseURL string + Debug bool + Key string + Logger *slog.Logger + RecvWindow int + Secret string