Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct { FeatureName string FeatureToolTip string Colored uint8 DisplayTime bool TValues []TimedValue }
Content holds all information about a feature value to display it in html.
type HeadedContent ¶
HeadedContent represents a list of Content with a heading.
func (*HeadedContent) GetStrippedHeading ¶
func (hc *HeadedContent) GetStrippedHeading() string
GetStrippedHeading returns the heading of a HeadedContent with all whitespace stripped.
type HeadedContentSlice ¶
type HeadedContentSlice []HeadedContent
HeadedContentSlice is a slice of HeadedContent
func (HeadedContentSlice) MarshalBinary ¶
func (h HeadedContentSlice) MarshalBinary() ([]byte, error)
MarshalBinary marshals HeadedContentSlice into bytes.
func (*HeadedContentSlice) UnmarshalBinary ¶
func (h *HeadedContentSlice) UnmarshalBinary(data []byte) error
UnmarshalBinary unmarshalls bytes into HeadedContentSlice.
type HeadedFeatureStrings ¶
type HeadedFeatureStrings struct { Heading string `json:"heading" hash:"name:Heading"` Features []string `json:"features" hash:"name:Features"` }
HeadedFeatureStrings is a list of feature names with a heading.
type TimedValue ¶
type TimedValue struct { Value interface{} LastChecked string }
TimedValue represents a value and the time when it was checked the last time.
type ViewSpec ¶
type ViewSpec struct { ProviderNames []string Features []features.HeadedFeature }
ViewSpec represents the comparison view specification.
Click to show internal directories.
Click to hide internal directories.