Documentation ¶
Overview ¶
Package api defines types and constants useful for the API between the daemon service and client.
Index ¶
- Constants
- type AddCmdRequest
- type AddCmdResponse
- type AddDirRequest
- type AddDirResponse
- type CmdRequest
- type CmdResponse
- type CmdsRequest
- type CmdsResponse
- type CmdsWithSeqRequest
- type CmdsWithSeqResponse
- type DelCmdRequest
- type DelCmdResponse
- type DelDirRequest
- type DelDirResponse
- type DelSharedVarRequest
- type DelSharedVarResponse
- type DirsRequest
- type DirsResponse
- type NextCmdRequest
- type NextCmdResponse
- type NextCmdSeqRequest
- type NextCmdSeqResponse
- type PidRequest
- type PidResponse
- type PrevCmdRequest
- type PrevCmdResponse
- type SetSharedVarRequest
- type SetSharedVarResponse
- type SharedVarRequest
- type SharedVarResponse
- type VersionRequest
- type VersionResponse
Constants ¶
View Source
const ServiceName = "Daemon"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCmdRequest ¶
type AddCmdRequest struct {
Text string
}
type AddCmdResponse ¶
type AddCmdResponse struct {
Seq int
}
type AddDirRequest ¶
type AddDirResponse ¶
type AddDirResponse struct{}
type CmdRequest ¶
type CmdRequest struct {
Seq int
}
type CmdResponse ¶
type CmdResponse struct {
Text string
}
type CmdsRequest ¶
type CmdsResponse ¶
type CmdsResponse struct {
Cmds []string
}
type CmdsWithSeqRequest ¶
type CmdsWithSeqResponse ¶
type DelCmdRequest ¶
type DelCmdRequest struct {
Seq int
}
type DelCmdResponse ¶
type DelCmdResponse struct { }
type DelDirRequest ¶
type DelDirRequest struct {
Dir string
}
type DelDirResponse ¶
type DelDirResponse struct{}
type DelSharedVarRequest ¶
type DelSharedVarRequest struct {
}type DelSharedVarResponse ¶
type DelSharedVarResponse struct{}
type DirsRequest ¶
type DirsRequest struct {
Blacklist map[string]struct{}
}
type DirsResponse ¶
type NextCmdRequest ¶
type NextCmdResponse ¶
type NextCmdSeqRequest ¶
type NextCmdSeqRequest struct{}
type NextCmdSeqResponse ¶
type NextCmdSeqResponse struct {
Seq int
}
type PidRequest ¶
type PidRequest struct{}
type PidResponse ¶
type PidResponse struct {
Pid int
}
type PrevCmdRequest ¶
type PrevCmdResponse ¶
type SetSharedVarRequest ¶
type SetSharedVarRequest struct {}
type SetSharedVarResponse ¶
type SetSharedVarResponse struct{}
type SharedVarRequest ¶
type SharedVarRequest struct {
}type SharedVarResponse ¶
type SharedVarResponse struct {
}type VersionRequest ¶
type VersionRequest struct{}
type VersionResponse ¶
type VersionResponse struct {
Version int
}
Click to show internal directories.
Click to hide internal directories.