Documentation ¶
Index ¶
- Variables
- func LoadConfigVals(keys ...string) []string
- func SDKVersionFromFilename(name string) string
- func SetContextToken(ctx context.Context, token Token) context.Context
- func StoreConfigKeyVal(key, val string) error
- func StoreConfigKeyVals(values ...ConfigEntity) error
- type ConfigEntity
- type DeviceGroup
- type SimulatorFile
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var AgreementURL = "https://developer.garmin.com/downloads/connect-iq/sdks/agreement.html"
View Source
var ConfigPath = filepath.Join(RootPath, "sdkmanager-config.ini")
View Source
var CurrentSDKPath = filepath.Join(RootPath, "current-sdk.cfg")
View Source
var DevicesPath = filepath.Join(RootPath, "Devices")
View Source
var FontsPath = filepath.Join(RootPath, "Fonts")
View Source
var RootPath, _ = rootGarminFolder()
View Source
var SDKsPath = filepath.Join(RootPath, "Sdks")
Functions ¶
func LoadConfigVals ¶ added in v0.6.0
func SDKVersionFromFilename ¶ added in v0.4.0
func StoreConfigKeyVal ¶ added in v0.6.0
func StoreConfigKeyVals ¶ added in v0.6.0
func StoreConfigKeyVals(values ...ConfigEntity) error
Types ¶
type ConfigEntity ¶ added in v0.6.0
type DeviceGroup ¶
type DeviceGroup string
DeviceGroup express the type of device
const ( DeviceGroupWatchesWearables DeviceGroup = "Watches/Wearables" DeviceGroupEdge DeviceGroup = "Edge" DeviceGroupOutdoorHandhelds DeviceGroup = "Outdoor Handhelds" )
type SimulatorFile ¶ added in v0.6.0
type SimulatorFile struct { Fonts []struct { FontSet string `json:"fontSet"` Fonts []struct { Filename string `json:"filename"` Name string `json:"name"` } `json:"fonts"` } `json:"fonts"` }
SimulatorFile represent useful information in the simulator.json file located in the root/Devices/[Device]/simulator.json
Click to show internal directories.
Click to hide internal directories.