Documentation
¶
Index ¶
- func NewV1() dashboard.IDashboardV1
- type ControllerV1
- func (c *ControllerV1) BaseData(ctx context.Context, req *v1.BaseDataReq) (res *v1.BaseDataRes, err error)
- func (c *ControllerV1) CallData(ctx context.Context, req *v1.CallDataReq) (res *v1.CallDataRes, err error)
- func (c *ControllerV1) DataTop(ctx context.Context, req *v1.DataTopReq) (res *v1.DataTopRes, err error)
- func (c *ControllerV1) Expense(ctx context.Context, req *v1.ExpenseReq) (res *v1.ExpenseRes, err error)
- func (c *ControllerV1) ModelPercent(ctx context.Context, req *v1.ModelPercentReq) (res *v1.ModelPercentRes, err error)
- func (c *ControllerV1) PerMinute(ctx context.Context, req *v1.PerMinuteReq) (res *v1.PerMinuteRes, err error)
- func (c *ControllerV1) PerSecond(ctx context.Context, req *v1.PerSecondReq) (res *v1.PerSecondRes, err error)
- func (c *ControllerV1) QuotaWarning(ctx context.Context, req *v1.QuotaWarningReq) (res *v1.QuotaWarningRes, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewV1 ¶
func NewV1() dashboard.IDashboardV1
Types ¶
type ControllerV1 ¶
type ControllerV1 struct{}
func (*ControllerV1) BaseData ¶
func (c *ControllerV1) BaseData(ctx context.Context, req *v1.BaseDataReq) (res *v1.BaseDataRes, err error)
func (*ControllerV1) CallData ¶
func (c *ControllerV1) CallData(ctx context.Context, req *v1.CallDataReq) (res *v1.CallDataRes, err error)
func (*ControllerV1) DataTop ¶
func (c *ControllerV1) DataTop(ctx context.Context, req *v1.DataTopReq) (res *v1.DataTopRes, err error)
func (*ControllerV1) Expense ¶
func (c *ControllerV1) Expense(ctx context.Context, req *v1.ExpenseReq) (res *v1.ExpenseRes, err error)
func (*ControllerV1) ModelPercent ¶
func (c *ControllerV1) ModelPercent(ctx context.Context, req *v1.ModelPercentReq) (res *v1.ModelPercentRes, err error)
func (*ControllerV1) PerMinute ¶ added in v0.4.0
func (c *ControllerV1) PerMinute(ctx context.Context, req *v1.PerMinuteReq) (res *v1.PerMinuteRes, err error)
func (*ControllerV1) PerSecond ¶ added in v0.4.0
func (c *ControllerV1) PerSecond(ctx context.Context, req *v1.PerSecondReq) (res *v1.PerSecondRes, err error)
func (*ControllerV1) QuotaWarning ¶ added in v1.4.0
func (c *ControllerV1) QuotaWarning(ctx context.Context, req *v1.QuotaWarningReq) (res *v1.QuotaWarningRes, err error)
Click to show internal directories.
Click to hide internal directories.