package
0.0.0-20250302114958-bfab101eddb1
Repository: https://github.com/arduino/arduino-create-agent.git
Documentation: pkg.go.dev

# Functions

AvailableToolsPath returns the URL path to the tools service available HTTP endpoint.
DecodeInstallRequest returns a decoder for requests sent to the tools install endpoint.
DecodeRemoveRequest returns a decoder for requests sent to the tools remove endpoint.
EncodeAvailableResponse returns an encoder for responses returned by the tools available endpoint.
EncodeInstalledheadResponse returns an encoder for responses returned by the tools installedhead endpoint.
EncodeInstalledResponse returns an encoder for responses returned by the tools installed endpoint.
EncodeInstallResponse returns an encoder for responses returned by the tools install endpoint.
EncodeRemoveResponse returns an encoder for responses returned by the tools remove endpoint.
InstalledheadToolsPath returns the URL path to the tools service installedhead HTTP endpoint.
InstalledToolsPath returns the URL path to the tools service installed HTTP endpoint.
InstallToolsPath returns the URL path to the tools service install HTTP endpoint.
Mount configures the mux to serve the tools endpoints.
MountAvailableHandler configures the mux to serve the "tools" service "available" endpoint.
MountInstalledHandler configures the mux to serve the "tools" service "installed" endpoint.
MountInstalledheadHandler configures the mux to serve the "tools" service "installedhead" endpoint.
MountInstallHandler configures the mux to serve the "tools" service "install" endpoint.
MountRemoveHandler configures the mux to serve the "tools" service "remove" endpoint.
New instantiates HTTP handlers for all the tools service endpoints using the provided encoder and decoder.
NewAvailableHandler creates a HTTP handler which loads the HTTP request and calls the "tools" service "available" endpoint.
NewInstalledHandler creates a HTTP handler which loads the HTTP request and calls the "tools" service "installed" endpoint.
NewInstalledheadHandler creates a HTTP handler which loads the HTTP request and calls the "tools" service "installedhead" endpoint.
NewInstallHandler creates a HTTP handler which loads the HTTP request and calls the "tools" service "install" endpoint.
NewInstallResponseBody builds the HTTP response body from the result of the "install" endpoint of the "tools" service.
NewInstallToolPayload builds a tools service install endpoint payload.
NewRemoveHandler creates a HTTP handler which loads the HTTP request and calls the "tools" service "remove" endpoint.
NewRemoveResponseBody builds the HTTP response body from the result of the "remove" endpoint of the "tools" service.
NewRemoveToolPayload builds a tools service remove endpoint payload.
NewToolResponseCollection builds the HTTP response body from the result of the "available" endpoint of the "tools" service.
RemoveToolsPath returns the URL path to the tools service remove HTTP endpoint.
ValidateInstallRequestBody runs the validations defined on InstallRequestBody.

# Structs

InstallRequestBody is the type of the "tools" service "install" endpoint HTTP request body.
InstallResponseBody is the type of the "tools" service "install" endpoint HTTP response body.
MountPoint holds information about the mounted endpoints.
RemoveRequestBody is the type of the "tools" service "remove" endpoint HTTP request body.
RemoveResponseBody is the type of the "tools" service "remove" endpoint HTTP response body.
Server lists the tools service endpoint HTTP handlers.
ToolResponse is used to define fields on response body types.

# Type aliases

ToolResponseCollection is the type of the "tools" service "available" endpoint HTTP response body.