config

package
v0.0.0-...-2ee972e Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//restApi config
	BaseUrl       = "https://api.bitget.com"
	TimeoutSecond = 30

	//websocket config
	WsUrl = "wss://ws.bitgetapi.com/spot/v1/stream"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCreds

type ApiCreds struct {
	ApiKey     string
	SecretKey  string
	PASSPHRASE string
}

credentials

func GetDefaultCredentials

func GetDefaultCredentials() *ApiCreds

Jump to

Keyboard shortcuts

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