Documentation
¶
Overview ¶
Package controlapi implements the private, authenticated CLI-to-local-server API.
Index ¶
Constants ¶
View Source
const ProtocolVersion = 5
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Problem ¶
type Problem struct {
Type string `json:"type"`
Title string `json:"title"`
Status int `json:"status"`
Code string `json:"code,omitempty"`
Detail string `json:"detail"`
}
Problem is a local server rejection, distinct from an interrupted transport.
type Settings ¶
type Settings = config.ServerSettings
type Status ¶
type Status struct {
State string `json:"state"`
InstanceID string `json:"instanceId"`
StateID string `json:"stateId"`
PID int `json:"pid"`
Version string `json:"version"`
ProtocolVersion int `json:"protocolVersion"`
URL string `json:"url"`
BrowserURL string `json:"browserUrl"`
Settings Settings `json:"settings"`
Observations int `json:"observations"`
}
Click to show internal directories.
Click to hide internal directories.