client

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonClient

type CommonClient struct {
	Builder *binance.PublicUrlBuilder
}

CommonClient responsible to get common information

func NewCommonClient

func NewCommonClient(host string) *CommonClient

NewCommonClient Initializer

func (*CommonClient) GetServerTime

func (c *CommonClient) GetServerTime() (int64, error)

GetServerTime get server's time

func (*CommonClient) Ping

func (c *CommonClient) Ping() (interface{}, error)

Ping test server

Jump to

Keyboard shortcuts

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