v1

package
v0.0.0-...-3099d22 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CandlesticksHandler

func CandlesticksHandler(ctx context.Context) http.Handler

CandlesticksHandler will handle the candlesticks route swagger:route GET /v1/candlesticks Candlesticks V1 candlesticks

Return desired candlesticks

Produces:

  • application/json

Schemes: http, https

Responses:

default: GenericError
200: CandlestickList

func ExchangeHandler

func ExchangeHandler(ctx context.Context) http.Handler

ExchangeHandler will handle the exchange request route swagger:route GET /v1/exchange/{exchange_name} Exchanges V1 GetExchange

Return desired exchange

Produces:

  • application/json

Schemes: http, https

Responses:

default: GenericError
200: Exchange

func PairsHandler

func PairsHandler(ctx context.Context) http.Handler

PairsHandler will handle the pairs route swagger:route GET /v1/pairs Pairs V1 pairs

Return desired pairs

Produces:

  • application/json

Schemes: http, https

Responses:

default: GenericError
200: PairsList

func RegisterRoutes

func RegisterRoutes(ctx context.Context, router *mux.Router)

Types

This section is empty.

Jump to

Keyboard shortcuts

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