18 lines
311 B
Go
18 lines
311 B
Go
|
package v3
|
||
|
|
||
|
import (
|
||
|
"github.com/c9s/requestgen"
|
||
|
|
||
|
"git.qtrade.icu/lychiyu/qbtrade/pkg/exchange/bybit/bybitapi"
|
||
|
)
|
||
|
|
||
|
type APIResponse = bybitapi.APIResponse
|
||
|
|
||
|
type Client struct {
|
||
|
Client requestgen.AuthenticatedAPIClient
|
||
|
}
|
||
|
|
||
|
func NewClient(client *bybitapi.RestClient) *Client {
|
||
|
return &Client{Client: client}
|
||
|
}
|