info

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Main string `json:"main"`
	Sub  string `json:"sub"`
	Tip  string `json:"tip"`
}

type DataDetail

type DataDetail struct {
	Data [][]Data `json:"data"`
}

type Info

type Info struct {
	base.DefaultProvider

	Type   string          `json:"type"`
	Data   DataDetail      `json:"data"`
	Issues []dao.IssueItem `json:"-"`
}

func (*Info) InitFromProtocol

func (i *Info) InitFromProtocol(ctx context.Context, c *cptype.Component) error

func (*Info) Render

func (*Info) SetToProtocolComponent

func (i *Info) SetToProtocolComponent(c *cptype.Component) error

type Stats

type Stats struct {
	Unclose   int `json:"unclose,omitempty"`
	Expire    int `json:"expire,omitempty"`
	Today     int `json:"today,omitempty"`
	Week      int `json:"week,omitempty"`
	Month     int `json:"month,omitempty"`
	Undefined int `json:"undefined,omitempty"`
}

Jump to

Keyboard shortcuts

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