-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
Copy pathpaths.go
37 lines (30 loc) · 1.09 KB
/
paths.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Code generated by goa v3.15.2, DO NOT EDIT.
//
// HTTP request path constructors for the tools service.
//
// Command:
// $ goa gen github.com/arduino/arduino-create-agent/design
package server
import (
"fmt"
)
// AvailableToolsPath returns the URL path to the tools service available HTTP endpoint.
func AvailableToolsPath() string {
return "/v2/pkgs/tools/available"
}
// InstalledheadToolsPath returns the URL path to the tools service installedhead HTTP endpoint.
func InstalledheadToolsPath() string {
return "/v2/pkgs/tools/installed"
}
// InstalledToolsPath returns the URL path to the tools service installed HTTP endpoint.
func InstalledToolsPath() string {
return "/v2/pkgs/tools/installed"
}
// InstallToolsPath returns the URL path to the tools service install HTTP endpoint.
func InstallToolsPath() string {
return "/v2/pkgs/tools/installed"
}
// RemoveToolsPath returns the URL path to the tools service remove HTTP endpoint.
func RemoveToolsPath(packager string, name string, version string) string {
return fmt.Sprintf("/v2/pkgs/tools/installed/%v/%v/%v", packager, name, version)
}