Documentation
¶
Index ¶
Constants ¶
View Source
const ServiceID = "daemon"
ServiceID represents system daemon service
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct {
Service string //requested service name
Path string //path
Pid int //process if
Type int //type
Domain string //command how service was launched
State string //state
Launched bool
}
Info represents a service info
type StartRequest ¶
type StartRequest struct {
Target *url.Resource `required:"true" description:"target host"` //target host
Service string `required:"true" ` //service name
Exclusion string `description:"optional exclusion fragment in case there are more then one matching provided name service"` //exclusion if there is more than one service matching service group
}
StartRequest represents service request start
type StartResponse ¶
type StartResponse struct {
*Info
}
StartResponse represents daemon start response
type StatusRequest ¶
type StatusRequest struct {
Target *url.Resource `required:"true" description:"target host"` //target host
Service string `required:"true" ` //service name
Exclusion string //exclusion if there is more than one service matching service group
}
StatusRequest represents status request
Click to show internal directories.
Click to hide internal directories.