Documentation ¶
Index ¶
Constants ¶
View Source
const ( SymbolParam = "symbol" ResolutionParam = "res" FromParam = "from" ToParam = "to" )
View Source
const ( QuoteRoute = "/quote/" QuoteRouteWithParams = QuoteRoute + ":" + SymbolParam CandlesRoute = "/candles/" CandlesRouteWithParams = CandlesRoute + ":" + SymbolParam + "/:" + ResolutionParam + "/:" + FromParam + "/:" + ToParam RecommendationTrendsRoute = "/recommendation/trends/" RecommendationTrendsRouteWithParams = RecommendationTrendsRoute + ":" + SymbolParam PeersRoute = "/peers/" PeersRouteWithParams = PeersRoute + ":" + SymbolParam )
View Source
const ( Minute = "1" Hour = "60" Day = "D" Month = "M" )
View Source
const ( ComponentsRoute = "/components" APIRoute = "/api" )
Variables ¶
Functions ¶
func NewHandler ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) RecommendationTrends ¶
Click to show internal directories.
Click to hide internal directories.