apps

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 19 Imported by: 1

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 added in v0.1.7

type ChartAction actions.Action

func (*ChartAction) RunGet added in v0.1.7

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

func (*ChartAction) RunPost added in v0.1.7

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 added in v0.1.7

type ExportChartDataAction actions.Action

func (*ExportChartDataAction) RunGet added in v0.1.7

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 added in v0.1.2

type InitDefaultAppAction actions.Action

func (*InitDefaultAppAction) Run added in v0.1.2

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

初始化内置的App

type MoveChartAction added in v0.1.2

type MoveChartAction actions.Action

func (*MoveChartAction) Run added in v0.1.2

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 added in v0.1.7

type UpdateChartAction actions.Action

func (*UpdateChartAction) RunPost added in v0.1.7

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