Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostData ¶
type PostData struct { ProviderNames []string `json:"providers" hash:"name:Provider"` Features []comparison.HeadedFeatureStrings `json:"features" hash:"name:Features"` }
PostData represents the post data to create a ownview.
func (PostData) MarshalBinary ¶
MarshalBinary marshals PostData into bytes.
func (*PostData) ToComparisonViewSpec ¶
func (v *PostData) ToComparisonViewSpec(loadedFeatures []features.HeadedFeature) (p comparison.ViewSpec, notLoaded []string)
ToComparisonViewSpec creates a ViewSpec from PostData and the given loaded features.
func (*PostData) UnmarshalBinary ¶
UnmarshalBinary unmarshalls bytes into OwnviewPostData.
Click to show internal directories.
Click to hide internal directories.