qbtrade/pkg/exchange/bitget/bitgetapi/v2/client.go

22 lines
392 B
Go
Raw Permalink Normal View History

2024-06-27 14:42:38 +00:00
package bitgetapi
import (
"github.com/c9s/requestgen"
"git.qtrade.icu/lychiyu/qbtrade/pkg/exchange/bitget/bitgetapi"
)
const (
PrivateWebSocketURL = "wss://ws.bitget.com/v2/ws/private"
)
type APIResponse = bitgetapi.APIResponse
type Client struct {
Client requestgen.AuthenticatedAPIClient
}
func NewClient(client *bitgetapi.RestClient) *Client {
return &Client{Client: client}
}