Versions in this module Expand all Collapse all v1 v1.0.2 May 30, 2025 Changes in this version + var BaseURL = os.Getenv("AKTOOL_BASE_URL") + var GoldHandlerNameHistory = "spot_hist_sge" + var GoldHandlerNameRealtime = "spot_quotations_sge" + var PublicAPIURI = "/api/public/" + var StockHandlerNameRealtime = "stock_individual_info_em" + type GoldPriceDataHS []struct + func GetHistoryGoldPrice(ctx context.Context) (res GoldPriceDataHS, err error) + func GetStockPrice(ctx context.Context, symbol string) (res GoldPriceDataHS, err error) + type GoldPriceDataRT struct + Kind string + Price float64 + Time string + UpdateTime string + type GoldPriceDataRTList []*GoldPriceDataRT + func GetRealtimeGoldPrice(ctx context.Context) (res GoldPriceDataRTList, err error)