apps

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddChartAction

type AddChartAction actions.Action

func (*AddChartAction) Run

func (this *AddChartAction) Run(params struct {
	AgentId string
	AppId   string
	ItemId  string
	ChartId string
})

添加图表

type ChartAction

type ChartAction actions.Action

func (*ChartAction) RunGet

func (this *ChartAction) RunGet(params struct {
	AgentId string
	AppId   string
	ItemId  string
	ChartId string
})

func (*ChartAction) RunPost

func (this *ChartAction) RunPost(params struct {
	Name     string
	AgentId  string
	AppId    string
	ItemId   string
	ChartId  string
	TimeType string
	TimePast string
	DayFrom  string
	DayTo    string

	Export string

	Must *actions.Must
})

获取数据

type ChartsAction

type ChartsAction actions.Action

func (*ChartsAction) Run

func (this *ChartsAction) Run(params struct {
	AgentId string
})

图表列表

type ExportChartDataAction

type ExportChartDataAction actions.Action

func (*ExportChartDataAction) RunGet

func (this *ExportChartDataAction) RunGet(params struct {
	Name     string
	AgentId  string
	AppId    string
	ItemId   string
	ChartId  string
	TimeType string
	TimePast string
	DayFrom  string
	DayTo    string

	Export string

	Must *actions.Must
})

导出图表数据

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action actions.ActionWrapper)

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct {
	AgentId string
})

看板首页

func (*IndexAction) RunPost

func (this *IndexAction) RunPost(params struct {
	AgentId string
})

数据

type InitDefaultAppAction

type InitDefaultAppAction actions.Action

func (*InitDefaultAppAction) Run

func (this *InitDefaultAppAction) Run(params struct {
	AgentId string
})

初始化内置的App

type MoveChartAction

type MoveChartAction actions.Action

func (*MoveChartAction) Run

func (this *MoveChartAction) Run(params struct {
	AgentId  string
	OldIndex int
	NewIndex int
})

移动图表位置

type RemoveChartAction

type RemoveChartAction actions.Action

func (*RemoveChartAction) Run

func (this *RemoveChartAction) Run(params struct {
	AgentId string
	AppId   string
	ItemId  string
	ChartId string
})

移除图表

type UpdateChartAction

type UpdateChartAction actions.Action

func (*UpdateChartAction) RunPost

func (this *UpdateChartAction) RunPost(params struct {
	AgentId string
	AppId   string
	ItemId  string
	ChartId string

	Name     string
	TimeType string
	TimePast string
	DayFrom  string
	DayTo    string
})

修改图表设置

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL