board

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 CancelChartAction

type CancelChartAction actions.Action

func (*CancelChartAction) Run

func (this *CancelChartAction) Run(params struct {
	ServerId string
	WidgetId string
	ChartId  string
	Type     string
})

使用某个Chart

type ChartAction

type ChartAction actions.Action

func (*ChartAction) Run

func (this *ChartAction) Run(params struct {
	ServerId  string
	WidgetId  string
	ChartId   string
	BoardType string
})

图表详情

type ChartsAction

type ChartsAction actions.Action

func (*ChartsAction) Run

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

图表

type DeleteChartAction

type DeleteChartAction actions.Action

func (*DeleteChartAction) Run

func (this *DeleteChartAction) Run(params struct {
	ServerId string
	WidgetId string
	ChartId  string
})

删除图表

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

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

看板

func (*IndexAction) RunPost

func (this *IndexAction) RunPost(params struct {
	ServerId string
	Type     string // realtime or stat
	Events   string
})

看板数据

type MakeAction

type MakeAction actions.Action

func (*MakeAction) Run

func (this *MakeAction) Run(params struct {
	ServerId  string
	BoardType string
})

制作图表

func (*MakeAction) RunPost

func (this *MakeAction) RunPost(params struct {
	ServerId       string
	Name           string
	Description    string
	Columns        uint8
	Items          []string
	JavascriptCode string
	On             bool
	Must           *actions.Must
})

保存提交

type MoveChartAction

type MoveChartAction actions.Action

func (*MoveChartAction) Run

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

移动图表位置

type TestAction

type TestAction actions.Action

func (*TestAction) Run

func (this *TestAction) Run(params struct {
	ServerId       string
	Name           string
	Description    string
	Columns        uint8
	Items          []string
	JavascriptCode string
	On             bool
	AutoGenerate   bool // 是否自动生成测试数据
	Events         string
	Must           *actions.Must
})

测试图表

type UpdateChartAction

type UpdateChartAction actions.Action

func (*UpdateChartAction) Run

func (this *UpdateChartAction) Run(params struct {
	From      string
	ServerId  string
	WidgetId  string
	ChartId   string
	BoardType string
})

修改图表

func (*UpdateChartAction) RunPost

func (this *UpdateChartAction) RunPost(params struct {
	ServerId       string
	WidgetId       string
	ChartId        string
	Name           string
	Description    string
	Columns        uint8
	Items          []string
	JavascriptCode string
	On             bool
	Must           *actions.Must
})

保存提交

type UseChartAction

type UseChartAction actions.Action

func (*UseChartAction) Run

func (this *UseChartAction) Run(params struct {
	ServerId string
	WidgetId string
	ChartId  string
	Type     string
})

使用某个Chart

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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