rest

package
v0.0.0-...-9a27e1c Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BaseURL = "https://stooq.com/q/l/?f=sd2t2ohlcv&h&e=csv&s="
)

Functions

func ReadCSVFromHttpRequest

func ReadCSVFromHttpRequest(resp *http.Response) ([][]string, error)

Types

type RestBotsRepository

type RestBotsRepository interface {
	GetStock(command bots.Command) (*stocks.StockData, rest_errors.RestErr)
}

func NewRestStocksRepository

func NewRestStocksRepository() RestBotsRepository

Jump to

Keyboard shortcuts

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