codeCoverChart

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentAction

type ComponentAction struct {
	base.DefaultProvider

	Name       string                 `json:"name,omitempty"`
	Type       string                 `json:"type,omitempty"`
	Props      map[string]interface{} `json:"props,omitempty"`
	State      State                  `json:"state,omitempty"`
	Operations map[string]interface{} `json:"operations,omitempty"`
	Data       map[string]interface{}
	// contains filtered or unexported fields
}

func (*ComponentAction) GenComponentState

func (i *ComponentAction) GenComponentState(c *cptype.Component) error

GenComponentState 获取state

func (*ComponentAction) Render

type Meta

type Meta struct {
	Data struct {
		Data PointValue `json:"data"`
	} `json:"data"`
}

type Operation

type Operation struct {
	Key      string                 `json:"key"`
	Reload   bool                   `json:"reload"`
	FillMeta string                 `json:"fillMeta"`
	Meta     map[string]interface{} `json:"meta"`
}

type PointValue

type PointValue struct {
	RecordID   uint64  `json:"recordId"`
	Value      float64 `json:"value"`
	SymbolSize int     `json:"symbolSize"`
	Symbol     string  `json:"symbol"`
}

type State

type State struct {
	Value     []int64 `json:"value"`
	RecordID  uint64  `json:"recordID"`
	Workspace string  `json:"workspace"`
}

Jump to

Keyboard shortcuts

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