Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnableToStoreBrowserRelease = errors.New("unable to store browser release")
ErrUnableToStoreBrowserRelease indicates that the storage layer was unable to save the browser release.
Functions ¶
This section is empty.
Types ¶
type BrowserName ¶
type BrowserName string
BrowserName is an enumeration of the high-level keys found in the data.json for the browsers. The json schema itself does not list these names explicitly so we maintain our own subset here.
const ( Chrome BrowserName = "chrome" Edge BrowserName = "edge" Firefox BrowserName = "firefox" Safari BrowserName = "safari" ChromeAndroid BrowserName = "chrome_android" FirefoxAndroid BrowserName = "firefox_android" SafariIos BrowserName = "safari_ios" )
type BrowserRelease ¶
type BrowserRelease struct { BrowserName BrowserName BrowserVersion string ReleaseDate time.Time }
BrowserRelease is the representation of the metric that comes from the BCD Consumer This is located in the shared lib package so that it can be used in the adapter and the workflow.
Click to show internal directories.
Click to hide internal directories.