Documentation ¶
Index ¶
Constants ¶
View Source
const ( FilePerm = 0640 DirectoryPerm = 0750 CheckSumPostix = ".sha256" TempPostix = ".tmp" SignatirePostfix = ".sig" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // Error message HTTPStatus string // The request sent to the server Request string }
Error represents an Error reported in the HTTP session.
type Update ¶
type Update struct { // Path to file FileName string // URL of update URL string // Checksum of remote file CheckSum []byte // Signature of file Signature []byte }
func (*Update) GetCheckSum ¶
func (*Update) GetSignature ¶
func (*Update) UpdateExec ¶
Click to show internal directories.
Click to hide internal directories.