restclient

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecTypeNone SecType = iota
	SecTypeAPIKey
	SecTypeSigned // if the 'timestamp' parameter is required
)

Variables

This section is empty.

Functions

func New

func New(conf config.Configuration, logFileName string) ConnectorRest

Types

type BinanceRest

type BinanceRest struct {
	// contains filtered or unexported fields
}

func (*BinanceRest) GetClient

func (connRest *BinanceRest) GetClient() *http.Client

func (*BinanceRest) GetConfiguration

func (connRest *BinanceRest) GetConfiguration() config.Configuration

func (*BinanceRest) GetExchangeName

func (connRest *BinanceRest) GetExchangeName() string

func (*BinanceRest) GetLogger

func (connRest *BinanceRest) GetLogger() *zap.Logger

func (*BinanceRest) GetPair

func (connRest *BinanceRest) GetPair(args ...string) (string, error)

правильное создание какой-то валютной пары

func (*BinanceRest) GetSign

func (connRest *BinanceRest) GetSign(parms ...string) string

получение точной сигнатуры

func (*BinanceRest) ParseRequest

func (connRest *BinanceRest) ParseRequest(req *Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL