about

package
v0.0.0-...-1fa5987 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CheckVersionEndpoint = "https://exo.deref.io/latest-version"
	UpdateScriptEndpoint = "https://exo.deref.io/install"
	TelemetryEndpoint    = "https://exo.deref.io/api/telemetry"
)
View Source
const IsManaged = false

Variables

View Source
var AmplitudeAPIKey string
View Source
var Notices embed.FS
View Source
var Version string

NOTE [ABOUT_EMBEDS]: These come form go:embed tags, but the source files are in the repository root, and so must be set from there somehow. TODO: Untangle this.

Functions

func GetBuild

func GetBuild() string

Types

type Install

type Install struct {
	// contains filtered or unexported fields
}

func GetInstall

func GetInstall(deviceIDPath string) *Install

func (*Install) GetDeviceID

func (i *Install) GetDeviceID() (string, error)

func (*Install) UpgradeSelf

func (i *Install) UpgradeSelf() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL