Versions in this module Expand all Collapse all v0 v0.0.1 Nov 13, 2015 Changes in this version + func DetectOS(data map[string][]byte) string + func DetectPackages(data map[string][]byte) ([]*database.Package, error) + func GetRequiredFilesOS() (files []string) + func GetRequiredFilesPackages() (files []string) + func RegisterOSDetector(name string, f OSDetector) + func RegisterPackagesDetector(name string, f PackagesDetector) + type OSDetector interface + Detect func(map[string][]byte) (string, string) + GetRequiredFiles func() []string + type PackagesDetector interface + Detect func(map[string][]byte) ([]*database.Package, error) + GetRequiredFiles func() []string