package
0.0.0-20240905092532-c505147f767e
Repository: https://github.com/brave/go-update.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CompareVersions compares 2 versions: returns 0 if both versions are the same.
GetComponentUpdaterHost returns the url to use for extension updates.
GetS3ExtensionBucketHost returns the url to use for accessing crx files.
GetS3IPFSExtensionBucketHost returns the url to use for accessing go-ipfs client crx.
GetS3TorExtensionBucketHost returns the url to use for accessing tor client crx.
GetUpdateStatus returns the status of an update response for an extension.
NewExtensionMap creates a new map of Extension structs where access is controlled by a RW mutex.

# Variables

OfferedExtensions contains the extensions our server handles ourselves without redirecting to Google's component updater.
TorClientExtensionIDs is used to add an exception to return the dedicated proxy url for downloading the tor client crx.
No description provided by the author

# Structs

Extension represents an extension which is both used in update checks and responses.
ExtensionsMap is safe for use across goroutines.
No description provided by the author

# Type aliases

Extensions is type for a slice of Extension.
UpdateRequest represents an extension XML request.
UpdateResponse represents an extension XML response.
WebStoreUpdateResponse represents a webstore XML response.