Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByIdRequest ¶
type ByIdRequest struct {
ID int `json:"id"`
}
type HttpURL ¶
type HttpURL struct { gorm.Model URL string `json:"url"` // https://acme.com/baseline/update/1/collection.tar.gz/md5 -> Filename string `json:"filename"` // /acme.com/baseline_update_1_collection.tar.gz_md5 }
type Repository ¶
type Repository struct { ID int `json:"id"` FailureMsg string `json:"failuremsg"` LastSuccess time.Time `json:"lastsuccess"` LastFailure time.Time `json:"lastfailure"` Type string `json:"type"` URL string `json:"url"` MatchURL string `json:"matchurl"` Hash string `json:"hash"` Method string `json:"method"` Headers string `json:"headers"` Recursive bool `json:"recursive"` Host string `json:"host"` OuterPath string `json:"outerpath"` InnerPath string `json:"innerpath"` Username string `json:"username"` Password string `json:"password"` Anonymous bool `json:"anonymous"` Available bool `json:"available"` }
type RepositoryX ¶
type RepositoryX struct { gorm.Model Name string `json:"name"` URL string `json:"url"` Path string `json:"path"` Username string `json:"username"` Password string `json:"password"` Status int `json:"status"` Interval int `json:"interval"` LastSuccess time.Time `json:"lastsuccess"` LastFail time.Time `json:"lastfail"` Available bool `json:"available"` Recursive bool `json:"recursive"` }
type WaitRequest ¶
Click to show internal directories.
Click to hide internal directories.