mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 15:25:14 +00:00
18 lines
311 B
Go
18 lines
311 B
Go
|
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}
|
||
|
}
|