Documentation ¶
Overview ¶
Package types is where exportable API structures go. This is so we can share the XML marshalling and unmarshalling with the services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct { XMLName xml.Name `xml:"package" datastore:"-" json:"-"` Name string `xml:"name,attr"` // Package filename Size string `xml:"size,attr"` // Size of the file (in bytes) Path string `xml:"path,attr"` // Path from the root to the file Sha1Sum string `xml:"sha1sum,attr"` // SHA-1 hash of the file Sha256Sum string `xml:"sha256sum,attr"` // Sha-256 hash of the file (extension) Required bool `xml:"required,attr"` MetadataSignatureRsa string `xml:"MetadataSignatureRsa,attr,omitempty" json:"metadata_signature_rsa"` MetadataSize string `xml:"MetadataSize,attr,omitempty" json:"metadata_size"` }
Click to show internal directories.
Click to hide internal directories.