Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) API(resource string) string
- func (c *Client) Do(req *http.Request) (*http.Response, error)
- func (c *Client) GetJob() (*Job, error)
- func (c *Client) Info() (*Printer, error)
- func (c *Client) ListFiles() ([]File, error)
- func (c *Client) Run(commands []string) error
- func (c *Client) SelectFile(file File) error
- func (c *Client) UploadFile(path string) (string, error)
- type Config
- type File
- type Files
- type Gcode
- type Job
- type JobInfo
- type Printer
- type Temp
- type Temperature
Constants ¶
This section is empty.
Variables ¶
View Source
var Api_key string
View Source
var Host string
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SelectFile ¶
type Printer ¶
type Printer struct {
Temperature Temperature `json:"temperature"`
}
type Temperature ¶
Click to show internal directories.
Click to hide internal directories.