package
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: Sep 8, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func WithDir(dir string) option
func WithRetry(retry int) option
func NewConfig(opts ...option) Config
type Date struct {
Date int64 `json:"$date"`
}
type Module struct {
Stream string `json:"stream,omitempty"`
Name string `json:"name,omitempty"`
Version int64 `json:"version,omitempty"`
Arch string `json:"arch,omitempty"`
Context string `json:"context,omitempty"`
}
type OID struct {
OID string `json:"$oid,omitempty"`
}
type Package struct {
Name string `json:"name"`
Version string `json:"version"`
Release string `json:"release"`
Epoch string `json:"epoch"`
Arch string `json:"arch"`
Src string `json:"src"`
Filename string `json:"filename"`
Sum string `json:"sum"`
SumType interface{} `json:"sum_type"`
RebootSuggested int `json:"reboot_suggested"`
}
type Pkglist struct {
Name string `json:"name"`
Shortname string `json:"shortname"`
Packages []Package `json:"packages"`
Module Module `json:"module"`
}
type Reference struct {
Href string `json:"href"`
Type string `json:"type"`
ID string `json:"id"`
Title string `json:"title"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.