Documentation ¶
Index ¶
Constants ¶
View Source
const ( SymbolParam = "symbol" ResolutionParam = "res" FromParam = "from" ToParam = "to" NameParam = "name" DeltaParam = "delta" )
View Source
const ( QuoteRoute = "/quote/" QuoteRouteWithParams = QuoteRoute + ":" + SymbolParam CandlesRoute = "/candles/" CandlesRouteWithParams = CandlesRoute + ":" + SymbolParam + "/:" + ResolutionParam + "/:" + FromParam + "/:" + ToParam DeltaCandlesRoute = "/delta/candles/" DeltaCandlesRouteWithParams = DeltaCandlesRoute + ":" + SymbolParam + "/:" + ResolutionParam + "/:" + DeltaParam )
View Source
const ( WSRoute = "/ws" APIRoute = "/api" )
View Source
const (
QuoteWSRoute = "/quote"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) DeltaCandles ¶
type QuoteWSReq ¶ added in v0.0.9
type QuoteWSReq struct {
Symbol string `json:"symbol"`
}
Click to show internal directories.
Click to hide internal directories.