Versions in this module Expand all Collapse all v0 v0.0.1 Dec 11, 2023 Changes in this version + type Board struct + Fqbn string + Name string + type BoardDetailsResponse struct + Alias string + BuildProperties []string + ConfigOptions []*ConfigOption + DefaultProgrammerID string + Fqbn string + IdentificationProperties []*BoardIdentificationProperties + Name string + Official bool + Package *Package + Pinout string + Platform *BoardPlatform + Programmers []*Programmer + PropertiesId string + ToolsDependencies []*ToolsDependency + Version string + func NewBoardDetailsResponse(b *rpc.BoardDetailsResponse) *BoardDetailsResponse + type BoardIdentificationProperties struct + Properties orderedmap.Map[string, string] + func NewBoardIdentificationProperties(p []*rpc.BoardIdentificationProperties) []*BoardIdentificationProperties + func NewBoardIndentificationProperty(p *rpc.BoardIdentificationProperties) *BoardIdentificationProperties + type BoardListAllResponse struct + Boards []*BoardListItem + func NewBoardListAllResponse(p *rpc.BoardListAllResponse) *BoardListAllResponse + type BoardListItem struct + Fqbn string + IsHidden bool + Name string + Platform *Platform + func NewBoardListItem(b *rpc.BoardListItem) *BoardListItem + func NewBoardListItems(b []*rpc.BoardListItem) []*BoardListItem + type BoardListWatchResponse struct + Error string + EventType string + Port *DetectedPort + func NewBoardListWatchResponse(r *rpc.BoardListWatchResponse) *BoardListWatchResponse + type BoardPlatform struct + Architecture string + ArchiveFilename string + Category string + Checksum string + Name string + Size int64 + Url string + func NewBoardPlatform(p *rpc.BoardPlatform) *BoardPlatform + type CompileDiagnostic struct + Column int64 + Context []*CompileDiagnosticContext + File string + Line int64 + Message string + Notes []*CompileDiagnosticNote + Severity string + func NewCompileDiagnostic(cd *rpc.CompileDiagnostic) *CompileDiagnostic + func NewCompileDiagnostics(cd []*rpc.CompileDiagnostic) []*CompileDiagnostic + type CompileDiagnosticContext struct + Column int64 + File string + Line int64 + Message string + func NewCompileDiagnosticContext(cdc *rpc.CompileDiagnosticContext) *CompileDiagnosticContext + type CompileDiagnosticNote struct + Column int64 + File string + Line int64 + Message string + func NewCompileDiagnosticNote(cdn *rpc.CompileDiagnosticNote) *CompileDiagnosticNote + type CompileResponse struct + BoardPlatform *InstalledPlatformReference + BuildPath string + BuildPlatform *InstalledPlatformReference + BuildProperties []string + Diagnostics []*CompileDiagnostic + ErrStream []byte + ExecutableSectionsSize []*ExecutableSectionSize + OutStream []byte + UsedLibraries []*Library + func NewCompileResponse(c *rpc.CompileResponse) *CompileResponse + type ConfigOption struct + Option string + OptionLabel string + Values []*ConfigValue + func NewConfigOption(o *rpc.ConfigOption) *ConfigOption + func NewConfigOptions(c []*rpc.ConfigOption) []*ConfigOption + type ConfigValue struct + Selected bool + Value string + ValueLabel string + func NewConfigValue(c *rpc.ConfigValue) *ConfigValue + func NewConfigValues(c []*rpc.ConfigValue) []*ConfigValue + type DetectedPort struct + MatchingBoards []*BoardListItem + Port *Port + func NewDetectedPort(p *rpc.DetectedPort) *DetectedPort + func NewDetectedPorts(p []*rpc.DetectedPort) []*DetectedPort + type DownloadResource struct + ArchiveFilename string + CachePath string + Checksum string + Size int64 + Url string + func NewDownloadResource(r *rpc.DownloadResource) *DownloadResource + type ExecutableSectionSize struct + MaxSize int64 + Name string + Size int64 + func NewExecutableSectionSize(s *rpc.ExecutableSectionSize) *ExecutableSectionSize + type Help struct + Online string + func NewHelp(h *rpc.Help) *Help + type HelpResource struct + Online string + type InstalledLibrary struct + Library *Library + Release *LibraryRelease + func NewInstalledLibrary(l *rpc.InstalledLibrary) *InstalledLibrary + type InstalledPlatformReference struct + Id string + InstallDir string + PackageUrl string + Version string + func NewInstalledPlatformReference(r *rpc.InstalledPlatformReference) *InstalledPlatformReference + type IsDebugSupportedResponse struct + DebugFQBN string + DebuggingSupported bool + func NewIsDebugSupportedResponse(resp *rpc.IsDebugSupportedResponse) *IsDebugSupportedResponse + type Library struct + Architectures []string + Author string + Category string + CompatibleWith orderedmap.Map[string, bool] + ContainerPlatform string + DotALinkage bool + Examples []string + InDevelopment bool + InstallDir string + IsLegacy bool + Layout LibraryLayout + LdFlags string + License string + Location LibraryLocation + Maintainer string + Name string + Paragraph string + Precompiled bool + Properties orderedmap.Map[string, string] + ProvidesIncludes []string + Sentence string + SourceDir string + Types []string + UtilityDir string + Version string + Website string + func NewLibrary(l *rpc.Library) *Library + type LibraryDependency struct + Name string + VersionConstraint string + func NewLibraryDependencies(d []*rpc.LibraryDependency) []*LibraryDependency + func NewLibraryDependency(d *rpc.LibraryDependency) *LibraryDependency + type LibraryDependencyStatus struct + Name string + VersionInstalled string + VersionRequired string + func NewLibraryDependencyStatus(l *rpc.LibraryDependencyStatus) *LibraryDependencyStatus + type LibraryLayout string + const LibraryLayoutFlat + const LibraryLayoutRecursive + func NewLibraryLayout(r rpc.LibraryLayout) LibraryLayout + type LibraryLocation string + const LibraryLocationIDEBuiltin + const LibraryLocationPlatformBuiltin + const LibraryLocationReferencedPlatformBuiltin + const LibraryLocationUnmanged + const LibraryLocationUser + func NewLibraryLocation(r rpc.LibraryLocation) LibraryLocation + type LibraryRelease struct + Architectures []string + Author string + Category string + Dependencies []*LibraryDependency + License string + Maintainer string + Paragraph string + ProvidesIncludes []string + Resources *DownloadResource + Sentence string + Types []string + Version string + Website string + func NewLibraryRelease(l *rpc.LibraryRelease) *LibraryRelease + type LibraryResolveDependenciesResponse struct + Dependencies []*LibraryDependencyStatus + func NewLibraryResolveDependenciesResponse(l *rpc.LibraryResolveDependenciesResponse) *LibraryResolveDependenciesResponse + type LibrarySearchResponse struct + Libraries []*SearchedLibrary + Status LibrarySearchStatus + func NewLibrarySearchResponse(l *rpc.LibrarySearchResponse) *LibrarySearchResponse + type LibrarySearchStatus string + const LibrarySearchStatusFailed + const LibrarySearchStatusSuccess + func NewLibrarySearchStatus(r rpc.LibrarySearchStatus) LibrarySearchStatus + type MonitorPortSettingDescriptor struct + EnumValues []string + Label string + SettingId string + Type string + Value string + func NewMonitorPortSettingDescriptor(m *rpc.MonitorPortSettingDescriptor) *MonitorPortSettingDescriptor + type Package struct + Email string + Help *Help + Maintainer string + Name string + Url string + WebsiteUrl string + func NewPackage(p *rpc.Package) *Package + type Platform struct + Metadata *PlatformMetadata + Release *PlatformRelease + func NewPlatform(p *rpc.Platform) *Platform + type PlatformMetadata struct + Deprecated bool + Email string + Id string + Indexed bool + Maintainer string + ManuallyInstalled bool + Website string + func NewPlatformMetadata(p *rpc.PlatformMetadata) *PlatformMetadata + type PlatformRelease struct + Boards []*Board + Compatible bool + Deprecated bool + Help *HelpResource + Installed bool + MissingMetadata bool + Name string + Type []string + Version string + func NewPlatformRelease(in *rpc.PlatformRelease) *PlatformRelease + func (p *PlatformRelease) FormatName() string + type PlatformSummary struct + Deprecated bool + Email string + Id string + Indexed bool + InstalledVersion *semver.Version + LatestVersion *semver.Version + Maintainer string + ManuallyInstalled bool + Releases orderedmap.Map[*semver.Version, *PlatformRelease] + Website string + func NewPlatformSummary(in *rpc.PlatformSummary) *PlatformSummary + func (p *PlatformSummary) GetInstalledRelease() *PlatformRelease + func (p *PlatformSummary) GetLatestRelease() *PlatformRelease + func (p *PlatformSummary) GetPlatformName() string + type Port struct + Address string + HardwareId string + Label string + Properties orderedmap.Map[string, string] + Protocol string + ProtocolLabel string + func NewPort(p *rpc.Port) *Port + type Programmer struct + Id string + Name string + Platform string + func NewProgrammer(c *rpc.Programmer) *Programmer + func NewProgrammers(c []*rpc.Programmer) []*Programmer + type SearchedLibrary struct + AvailableVersions []string + Latest *LibraryRelease + Name string + Releases orderedmap.Map[*semver.Version, *LibraryRelease] + func NewSearchedLibrary(l *rpc.SearchedLibrary) *SearchedLibrary + type System struct + ArchiveFilename string + Checksum string + Host string + Size int64 + Url string + func NewSystem(s *rpc.Systems) *System + func NewSystems(p []*rpc.Systems) []*System + type ToolsDependency struct + Name string + Packager string + Systems []*System + Version string + func NewToolsDependencies(p []*rpc.ToolsDependencies) []*ToolsDependency + func NewToolsDependency(p *rpc.ToolsDependencies) *ToolsDependency