Documentation
¶
Index ¶
Constants ¶
View Source
const APIPath_GetChartData = "/open_api/:project_key/measure/:chart_id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetChartDataReq ¶
type GetChartDataReq struct {
// contains filtered or unexported fields
}
type GetChartDataReqBuilder ¶
type GetChartDataReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetChartDataReqBuilder ¶
func NewGetChartDataReqBuilder() *GetChartDataReqBuilder
func (*GetChartDataReqBuilder) Build ¶
func (builder *GetChartDataReqBuilder) Build() *GetChartDataReq
func (*GetChartDataReqBuilder) ChartID ¶
func (builder *GetChartDataReqBuilder) ChartID(chartID string) *GetChartDataReqBuilder
func (*GetChartDataReqBuilder) ProjectKey ¶
func (builder *GetChartDataReqBuilder) ProjectKey(projectKey string) *GetChartDataReqBuilder
type GetChartDataResp ¶
type GetChartDataResp struct { *core.APIResp `json:"-"` core.CodeError Data *OAPIChartData `json:"data"` }
type MeasureService ¶
type MeasureService struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(config *core.Config) *MeasureService
func (*MeasureService) GetChartData ¶
func (a *MeasureService) GetChartData(ctx context.Context, req *GetChartDataReq, options ...core.RequestOptionFunc) (*GetChartDataResp, error)
* @name: 拉取图表信息 * @desc: 可以拉取普通图表或者魔法公式图表
Click to show internal directories.
Click to hide internal directories.