Documentation ¶
Index ¶
- func AddKeeper(keeper *Keeper) error
- func TypeStrings() []string
- type Average
- type Axis
- type AxisCore
- type Exhibit
- type ExhibitCore
- type Filter
- type Group
- type Keeper
- func (k *Keeper) Axes() map[string]Axis
- func (k *Keeper) ChartCaption() template.HTML
- func (k *Keeper) ChartTitle() template.HTML
- func (k *Keeper) HandlerTags() []data.HandlerTag
- func (k *Keeper) Name() string
- func (k *Keeper) Overview() template.HTML
- func (k *Keeper) Setup(bench *data.Benchmarks, warns *data.Warnings) error
- func (k *Keeper) Summary() template.HTML
- func (k *Keeper) Tag() KeeperTag
- func (k *Keeper) TestTags() []data.TestTag
- func (k *Keeper) X() Axis
- func (k *Keeper) Y() Axis
- type KeeperOptions
- type KeeperTag
- type Type
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeStrings ¶ added in v1.1.0
func TypeStrings() []string
TypeStrings returns a slice of all String values of the enum
Types ¶
type Average ¶ added in v1.1.0
func (*Average) AddMultiple ¶ added in v1.1.0
type Axis ¶
type Axis interface { Setup(bench *data.Benchmarks, warns *data.Warnings) error Name() string HasTest(test data.TestTag) bool ScoreFor(handler data.HandlerTag) Value ScoreForTest(handler data.HandlerTag, test data.TestTag) Value ScoreForType(handler data.HandlerTag, which Type) Value Summary() template.HTML Exhibits() []Exhibit Documentation() template.HTML }
type AxisCore ¶ added in v1.1.0
type AxisCore struct {
// contains filtered or unexported fields
}
func (*AxisCore) AddExhibit ¶ added in v1.1.0
func (*AxisCore) SetSummary ¶ added in v1.1.0
type ExhibitCore ¶
type ExhibitCore struct {
// contains filtered or unexported fields
}
func NewExhibitCore ¶
func NewExhibitCore(tmpl *template.Template) ExhibitCore
type Filter ¶
func NewExcludeFilter ¶
NewExcludeFilter returns a new "exclude" Filter object. Filtered items must be either string or *Group.
func NewIncludeFilter ¶
NewIncludeFilter returns a new "include" Filter object. Filtered items must be either string or *Group.
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func NewFilterGroup ¶
NewFilterGroup creates a new Group object. Grouped items must be either string or *Group.
type Keeper ¶
type Keeper struct { KeeperOptions // contains filtered or unexported fields }
func (*Keeper) ChartCaption ¶
func (*Keeper) ChartTitle ¶
func (*Keeper) HandlerTags ¶
func (k *Keeper) HandlerTags() []data.HandlerTag
type KeeperOptions ¶
type Type ¶ added in v1.1.0
type Type uint8
func TypeString ¶ added in v1.1.0
TypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func TypeValues ¶ added in v1.1.0
func TypeValues() []Type
TypeValues returns all values of the enum
Click to show internal directories.
Click to hide internal directories.