package
1.2.0
Repository: https://github.com/arduino/arduino-cli.git
Documentation: pkg.go.dev

# Packages

# Functions

BoardListWatchProxyToChan return a stream, to be used in BoardListWatch method, that proxies all the responses to a channel.
BurnBootloaderToServerStreams return a server stream that forwards the output and error streams to the provided io.Writers.
CompilerServerToStreams creates a gRPC CompileServer that sends the responses to the provided streams.
DebugServerToStreams creates a debug server that proxies the data to the given io streams.
GitLibraryInstallStreamResponseToCallbackFunction returns a gRPC stream to be used in GitLibraryInstall that sends all responses to the callback function.
InitStreamResponseToCallbackFunction returns a gRPC stream to be used in Init that sends all responses to the callback function.
LibraryDownloadStreamResponseToCallbackFunction returns a gRPC stream to be used in LibraryDownload that sends all responses to the callback function.
LibraryInstallStreamResponseToCallbackFunction returns a gRPC stream to be used in LibraryInstall that sends all responses to the callback function.
LibraryUninstallStreamResponseToCallbackFunction returns a gRPC stream to be used in LibraryUninstall that sends all responses to the callback function.
LibraryUpgradeAllStreamResponseToCallbackFunction returns a gRPC stream to be used in LibraryUpgradeAll that sends all responses to the callback function.
LibraryUpgradeStreamResponseToCallbackFunction returns a gRPC stream to be used in LibraryUpgrade that sends all responses to the callback function.
MatcherFromQueryString returns a closure that takes a library as a parameter and returns true if the library matches the query.
MonitorServerToReadWriteCloser creates a monitor server that proxies the data to a ReadWriteCloser.
NewArduinoCoreServer returns an implementation of the ArduinoCoreService gRPC service that uses the provided version string.
NewSynchronizedSend takes a Send function and wraps it in a SynchronizedSender.
PlatformDownloadStreamResponseToCallbackFunction returns a gRPC stream to be used in PlatformDownload that sends all responses to the callback function.
UpdateIndexStreamResponseToCallbackFunction returns a gRPC stream to be used in PlatformInstall that sends all responses to the callback function.
PlatformUninstallStreamResponseToCallbackFunction returns a gRPC stream to be used in PlatformUninstall that sends all responses to the callback function.
PlatformUpgradeStreamResponseToCallbackFunction returns a gRPC stream to be used in PlatformUpgrade that sends all responses to the callback function.
UpdateIndexStreamResponseToCallbackFunction returns a gRPC stream to be used in UpdateIndex that sends all responses to the callback function.
UpdateLibrariesIndexStreamResponseToCallbackFunction returns a gRPC stream to be used in UpdateLibrariesIndex that sends all responses to the callback function.
UploadToServerStreams return a server stream that forwards the output and error streams to the provided writers.
ZipLibraryInstallStreamResponseToCallbackFunction returns a gRPC stream to be used in ZipLibraryInstall that sends all responses to the callback function.

# Structs

SynchronizedSender is a sender function with an extra protection for concurrent writes, if multiple threads call the Send method they will be blocked and serialized.