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

18 lines
311 B
Go
Raw Normal View History

2023-11-05 15:41:57 +00:00
package bitgetapi
import (
"github.com/c9s/requestgen"
"github.com/c9s/bbgo/pkg/exchange/bitget/bitgetapi"
)
type APIResponse = bitgetapi.APIResponse
type Client struct {
Client requestgen.AuthenticatedAPIClient
}
func NewClient(client *bitgetapi.RestClient) *Client {
return &Client{Client: client}
}