Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "StaticResource"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StaticResource ¶
type StaticResource struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"StaticResource"`
Xmlns *string `xml:"xmlns,attr"`
CacheControl struct {
Text string `xml:",chardata"`
} `xml:"cacheControl"`
ContentType struct {
Text string `xml:",chardata"`
} `xml:"contentType"`
Description *struct {
Text string `xml:",chardata"`
} `xml:"description"`
}
func Open ¶
func Open(path string) (*StaticResource, error)
func (*StaticResource) SetMetadata ¶
func (c *StaticResource) SetMetadata(m metadata.MetadataInfo)
func (*StaticResource) Type ¶
func (c *StaticResource) Type() metadata.MetadataType
Click to show internal directories.
Click to hide internal directories.