Versions in this module Expand all Collapse all v0 v0.2.0 Jan 16, 2019 v0.1.0 Apr 10, 2018 Changes in this version + var Families map[string][]string + var LogDebugLevel = func() log.Level { ... }() + var LogErrorLevel = func() log.Level { ... }() + var LogFatalLevel = func() log.Level { ... }() + var LogInfoLevel = func() log.Level { ... }() + var LogPanicLevel = func() log.Level { ... }() + var LogWarnLevel = func() log.Level { ... }() + func SetLogLevel(l log.Level) + func SetLogOutput(i io.Writer) + func SetOptions(opt Options) + type Model struct + Arch string + CPU string + Cores string + FPU string + Name string + RAM string + Threads string + type Models []*Model + func GetModels(forceRefresh bool) (Models, error) + func (m Models) FilterByName(query string) Models + func (m Models) SaveModelsFile() error + type Options struct + CacheDir string + Language string + MD5 bool + ModelsFile string + PackagesDir string + func GetOptions() *Options + type Package struct + AdminPort string + AdminProtocol string + AdminURL string + Arch string + AutoUpgradeFrom string + Beta bool + Category string + Changelog string + CheckPort bool + Checksum string + ConstrolStop bool + ConstrolUninstall bool + DSMAppDir string + DSMUIDir string + Description string + DisplayName string + Distributor string + DistributorURL string + DownloadCount string + ExcludeArch string + ExtractSize string + Firmware string + HelpURL string + InstUninstRestartServices string + InstallBreakPackages string + InstallConflictPackages string + InstallDepPackages string + InstallDepServices string + InstallReboot bool + InstallReplacePackages string + InstallType string + Link string + MD5 string + Maintainer string + MaintainerURL string + Model string + Name string + OSMaximumVersion bool + OSMinimumVersion string + OfflineInstall bool + PackageIcon string + PackageIcon256 string + PackagesConflicts string + PackagesDependencies string + PreCheckStartStop bool + Price string + QuickInstall bool + QuickStart bool + QuickUpgrade bool + RecentDownloadCount string + ReportURL string + ServiceDependencies string + SilentInstall bool + SilentUninstall bool + SilentUpgrade bool + Size string + Snapshot []string + Start bool + StartDepServices bool + StartStopRestartServices string + Startable bool + SubCategory string + SupportCenter string + SupportConfFolder bool + SupportURL string + ThirdParty bool + Thumbnail []string + ThumbnailRetina []string + Type string + Version string + func NewDebugPackage(description string) *Package + func NewPackage(synoPackageName string) (*Package, error) + func (p *Package) ExistsOnDisk() bool + func (p *Package) FullPath() string + type Packages []*Package + func (p Packages) FilterByArch(query string) Packages + func (p Packages) FilterByFirmware(query string) Packages + func (p Packages) FilterOutBeta() Packages + func (p Packages) Len() int + func (p Packages) Less(i, j int) bool + func (p Packages) OnlyShowLastVersion() Packages + func (p Packages) SearchByName(query string) Packages + func (p Packages) Swap(i, j int)